• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

a20.6 Fire Danger mod

magejosh

New member
This mod is dependent on 0-SCore and Guppycur's Fire Mod. Without them it will do nothing and will likely cause some NRE's.

What it does:

     Adds a tracker to determine distance to and quantity of burning blocks at varying ranges. Then scales proximity effects based on those and whether you have protection or not. 
Protection is currently Equipping either one of the following three items: Fireman's Helmet, Iron Fire Axe, Fire Extinguisher. The latter two require they be the active item on hotbar to count. 
Proximity to fire effects include: Slow to ramping quickly HP and Water Loss, increased cold temp resistance, decreased hot temp resisitance, and even having the fire jump the space to set you on fire, which can happen regardless of wearing protection or not so better keep water on hand just in case.

Also makes any drink item that follows the vanilla naming convention for them able to extinguish on the player any of the new on-fire buffs from Guppy's Fire Mod.

Additionally it makes zombies who get too close to fires also set on fire, and often causes them to set new areas on fire before they die.

Lastly the mod enables some alternative color fire particles on some materials, for instance body bags burn with green fire and trash burns with a black flame. 

Dependencies:

0-SCore

Guppycur's Fire Mod

Download Links:

https://github.com/magejosh/a20SCoreDependents

Direct mjFireDanger.zip Link

 
Hey magejosh, while [SIZE=14.6px]checking[/SIZE] out this mod I noticed there is a lot of fire calls to the console/logs

Spams server console.

Is there any way to do this with out the console spam?

————————————————————————————————
2022-12-05T13:09:06 1211.502 INF CVarLogValue: _far20mFires == 0
2022-12-05T13:09:08 1213.590 INF CVarLogValue: _closeFires == 0
2022-12-05T13:09:08 1213.590 INF CVarLogValue: _close6mFires == 0
2022-12-05T13:09:08 1213.590 INF CVarLogValue: _nearFires == 6
2022-12-05T13:09:08 1213.590 INF CVarLogValue: _near10mFires == 13
2022-12-05T13:09:08 1213.590 INF CVarLogValue: _near12mFires == 72


 
Those are debug lines to test; you can go into score/blocks.xml and likely comment them out, unless they're in code, then you gotta find the code and comment them out. 😃

 
Yeah it's a leftover from the testing phase. Kinda handy for detecting underground fires or fires outside the poi you are in. 

Will probably turn that aspect into a perk called Danger Sense or something like that in Purgatory.

 
but score and your firemod clientside as i read? so of these three, i only have to pack sphereii's and you'rs on my pc's modfolder?

 
Last edited by a moderator:
Back
Top