You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to make a spell that conjured temporarily-existing batches of fertilizer. Unfortunately, the fertilizer stacks with charges and requires charges to be used as fertilizer in its iuse function so it cannot have a timer associated with it, as my understanding goes.
which conjures: { "id": "magic_fertilizer", "type": "COMESTIBLE", "category": "tools", "name": { "str": "verdant glimmer" }, "description": "A glimmer of green, magical energy that pulses with the potential for vegetative growth. Sow into the soil quickly lest it dissipate.", "weight": "0 g", "volume": "0 ml", "price": 0, "stack_size": 1, "symbol": ",", "color": "light_green", "flags": [ "FERTILIZER", "INEDIBLE" ] }
What happens is the spell summons extra units of fertilizer and functions properly as fertilizer but it won't have a timer to disappear.
Expected behavior
Spell should conjure stack of fertilizer that should disappear 25 seconds per level after casting, giving the player enough time to fertilize the soil before it disappears.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions and configuration
OS: Windows
OS Version: 10.0 1903
Game Version: 0.D-12025-g40c494c [64-bit]
Graphics Version: Tiles
Mods loaded: [
Dark Days Ahead [dda],
Magiclysm [magiclysm],
Aftershock [aftershock],
Bens GF recipes [Tolerate_This],
Garden Pots [growable-pots],
Medieval and Historic Classes and Shields [Medieval_Stuff],
More Survival Tools [More_Survival_Tools],
Makeshift Items Mod [makeshift],
Modular Turrets [modular_turrets],
Salvaged Robots [Salvaged_Robots],
Hydroponics [hydroponics],
Mutant NPCs [mutant_npcs],
Beta National Guard Camp [national_guard_camp],
More Locations [more_locations],
Fuji's More Buildings [FujiStruct],
Folding Parts pack [deoxymod],
Vehicle Additions Pack [blazemod],
Roadheader and other mining vehicles [Heavy miners],
Tanks and Other Vehicles [Tanks]
]
Additional context
Mentioned the issue in Discord and it was recommended that I post a bug report by a collaborator.
The text was updated successfully, but these errors were encountered:
worst case i might have to disable spawning items that count by charges? it's really odd that it doesn't "just work" though, i'll have to look into it further in order to know more about what's going on.
Note that comestibles cannot gain the 'ETHEREAL' tag and therefore they will never despawn. @KorGgenT Is there any reason for this? If not I can create a PR to remove it.
Ah... I think it is because in my head comestibles already had a spoils_in so i'd have wanted to use the rot code, but i'm not sure that's necessary now that i think about it again. It really needs some testing if it is to be changed though.
Describe the bug
I was trying to make a spell that conjured temporarily-existing batches of fertilizer. Unfortunately, the fertilizer stacks with charges and requires charges to be used as fertilizer in its iuse function so it cannot have a timer associated with it, as my understanding goes.
Steps To Reproduce
Created a spell:
{ "id": "druid_create_magic_fertilizer", "type": "SPELL", "name": "Nurture Soil", "description": "Invoke magical energy that enriches soil for plant growth.", "valid_targets": [ "none" ], "min_range": 0, "max_range": 0, "min_damage": 1, "max_damage": 11, "damage_increment": 0.5, "effect": "spawn_item", "effect_str": "magic_fertilizer", "energy_source": "MANA", "flags": [ "VERBAL", "NO_LEGS" ], "spell_class": "DRUID", "difficulty": 2, "max_level": 20, "base_casting_time": 1000, "base_energy_cost": 500, "min_duration": 2500, "max_duration": 50000, "duration_increment": 2500 }
which conjures:
{ "id": "magic_fertilizer", "type": "COMESTIBLE", "category": "tools", "name": { "str": "verdant glimmer" }, "description": "A glimmer of green, magical energy that pulses with the potential for vegetative growth. Sow into the soil quickly lest it dissipate.", "weight": "0 g", "volume": "0 ml", "price": 0, "stack_size": 1, "symbol": ",", "color": "light_green", "flags": [ "FERTILIZER", "INEDIBLE" ] }
What happens is the spell summons extra units of fertilizer and functions properly as fertilizer but it won't have a timer to disappear.
Expected behavior
Spell should conjure stack of fertilizer that should disappear 25 seconds per level after casting, giving the player enough time to fertilize the soil before it disappears.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions and configuration
Dark Days Ahead [dda],
Magiclysm [magiclysm],
Aftershock [aftershock],
Bens GF recipes [Tolerate_This],
Garden Pots [growable-pots],
Medieval and Historic Classes and Shields [Medieval_Stuff],
More Survival Tools [More_Survival_Tools],
Makeshift Items Mod [makeshift],
Modular Turrets [modular_turrets],
Salvaged Robots [Salvaged_Robots],
Hydroponics [hydroponics],
Mutant NPCs [mutant_npcs],
Beta National Guard Camp [national_guard_camp],
More Locations [more_locations],
Fuji's More Buildings [FujiStruct],
Folding Parts pack [deoxymod],
Vehicle Additions Pack [blazemod],
Roadheader and other mining vehicles [Heavy miners],
Tanks and Other Vehicles [Tanks]
]
Additional context
Mentioned the issue in Discord and it was recommended that I post a bug report by a collaborator.
The text was updated successfully, but these errors were encountered: