Jump to content

Fire Related features


Recommended Posts

So basically, I'm trying to make an item that when equipped;

1. Makes you fire proof. Manged to do it.

2. Allows you to add fuel to a fire in exchange for durability.

Some others features I wanted I managed to do, But I'm not sure how I can do these 2..

 

Any help is appreciated.

Edited by Aquaterion
Link to comment
Share on other sites

Ok so I managed to do the fire proof by doing:

owner.components.health.fire_damage_scale = 0

which works fine, but it stays when unequipped, from where can I know the default fire_damage_scale?

How can I know what character the player is using?

All I need to know now is the second feature!

So I sorta managed to do the 2nd feature.. It only works when the fire pit or whatever is not currently fueled and lighting makes it permanently fueled until server closes(i think..) Which I kinda like..

Edited by Aquaterion
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...