mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Fix my own issue less than an hour after making it, thus creating a dangerously powerful infinite gbp loop. (#91354)
## About The Pull Request Flips the wavelength and intensity around in microlaser code toc heck how long it takes to apply fixes #91353 ## Why It's Good For The Game the code itself says it should be the other way around smh smh ## Changelog 🆑 fix: Wavelength is now the main factor in how long your microlaser takes to activate, rather than intensity for some reason. /🆑
This commit is contained in:
@@ -96,7 +96,7 @@ effective or pretty fucking useless.
|
||||
addtimer(VARSET_CALLBACK(src, used, FALSE), cooldown)
|
||||
addtimer(VARSET_CALLBACK(src, icon_state, "health"), cooldown)
|
||||
to_chat(user, span_warning("Successfully irradiated [interacting_with]."))
|
||||
addtimer(CALLBACK(src, PROC_REF(radiation_aftereffect), interacting_with, intensity), (wavelength+(intensity*4))*5)
|
||||
addtimer(CALLBACK(src, PROC_REF(radiation_aftereffect), interacting_with, intensity), (intensity+(wavelength*4))*5)
|
||||
return . | ITEM_INTERACT_SUCCESS
|
||||
|
||||
to_chat(user, span_warning("The radioactive microlaser is still recharging."))
|
||||
|
||||
Reference in New Issue
Block a user