mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
Adds a new smite: Retcon, also refactors the temporary_atom component into an atom level proc (#90016)
## About The Pull Request Adds a new Retcon smite, it makes the person fade out into nothingness with a configurable timer, deletes their records and reopens their job slot, as if they were never there at all. I was also annoyed that to play around with temporary_atom I had to slowy add a component, and it doesn't really have much of a reason to BE a component, so I refactored it into an atom level proc called fade_into_nothing ## Why It's Good For The Game The smite is useful for when you wanna get rid of someone who had to leave roundstart and whatnot, on top of just being funny. the refactor is also good because i can now put that proc on build mode and go to town. ## Changelog 🆑 add: Added new mechanics or gameplay changes add: Added more things del: Removed old things qol: made something easier to use balance: rebalanced something fix: fixed a few things sound: added/modified/removed audio or sound effects image: added/modified/removed some icons or images map: added/modified/removed map content spellcheck: fixed a few typos code: changed some code refactor: refactored some code config: changed some config setting admin: messed with admin stuff server: something server ops should know /🆑 --------- Co-authored-by: Jacquerel <hnevard@gmail.com>
This commit is contained in:
@@ -584,7 +584,7 @@ GLOBAL_LIST_EMPTY(virtual_pets_list)
|
||||
announce_global_updates(message = "has found a chocolate at [selected_area.name]")
|
||||
selected_area = null
|
||||
var/obj/item/food/virtual_chocolate/chocolate = new(get_turf(computer))
|
||||
chocolate.AddElement(/datum/element/temporary_atom, life_time = 30 SECONDS) //we cant maintain its existence for too long!
|
||||
chocolate.fade_into_nothing(life_time = 30 SECONDS) //we cant maintain its existence for too long!
|
||||
|
||||
/datum/computer_file/program/virtual_pet/proc/recall_pet(mob/living/friend)
|
||||
animate(pet, transform = matrix().Scale(0.3, 0.3), time = 1.5 SECONDS)
|
||||
|
||||
Reference in New Issue
Block a user