Author Topic: Toggle-able Oxygen [Locked]  (Read 4140 times)

Locked.
Oxygen
Breath in, breath out. Now it's toggle-able!

Description
Breath in, breath out. The classic oxygen script made by SolarFlare back in v8! This time, it's toggle-able! When you're underwater, the oxygen level lowers, once it reaches 0 you die.
The /command to toggle this is, /ToggleOxygen. Oxygen is on by default.

To-do list:
I might add the events, addOxygen and setOxygen.
I also might add the feature of the oxygen going back up to the $maxOxygen value slowly instead of instantly when you get out of the water.

Credits:
SolarFlare, for making the base script.
HellsHero, for porting it and adding the toggle.

Download
Script_Oxygen.zip (Last Updated: Sun Jun 07, 2009 11:46 am)


Installation
Put Script_Oxygen.zip into the Add-Ons folder in your Blockland folder.

Click Here to view this file on the RTB Download Manager
« Last Edit: June 08, 2009, 10:34:45 AM by HellsHero »

onoz, i'z suffocating!!

Cool, good job Hells.


Add the SetOxygen.
I will be. It'll be my first event so I'm looking at how atm.

Cool, good job Hells.
Thanks.

Oh. I thought you meant /set oxygen [number], like as the amount of oxygen you start with.
Well, can you add that? For example, if you want water to be deadly, you set the oxygen to 1.

Oh. I thought you meant /set oxygen [number], like as the amount of oxygen you start with.
Well, can you add that? For example, if you want water to be deadly, you set the oxygen to 1.
No I won't add that. For you can edit the $maxOxygen pref. I can add a RTB pref for it though.

I assume the /toggle is an admin only function?

I assume the /toggle is an admin only function?
Yes, it's Super Admin only.

Wait you should fix it to because when you in water you can't drown, you just float to top and he breaths(oxeygen don't go down).

Wait you should fix it to because when you in water you can't drown, you just float to top and he breaths(oxeygen don't go down).
You drown if you're underwater, not if you're on the top... The oxygen goes down if you're underwater.

Very nice...

is there a command that is like /set total oxygen ##?

Also, I think there should be a /toggle gills... So when you buy Zora armor, you can breathe underwater :D

Very nice...

is there a command that is like /set total oxygen ##?

Also, I think there should be a /toggle gills... So when you buy Zora armor, you can breathe underwater :D
There isn't a setTotalOxygen cmd (I'll be adding a RTB pref). And I don't think I'll do the gill thing.

Does it work with water bricks as well? That would be nice.

Does it work with water bricks as well? That would be nice.
Yes.