mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
Converts 3 components into elements (#94589)
## About The Pull Request `adjust_fishing_difficulty` is a good one to make into a bespoke element since a number of the same clothing item are created in the wardrobe system. climb_walkable is also good due to how prevalent it is, and it is a bit of a two for one since it also removes the need for the `/component/connect_loc_behalf` Also stops adding the on_climbable trait to literally everything in the turf, it now only applies it to atoms with density. So no more pipes and stuff getting trait lists created for no reason. <details><summary> Tested + things still work as before </summary> <img width="422" height="122" alt="image" src="https://github.com/user-attachments/assets/b23696f5-cd16-4150-aeb3-14ea6bd256fc" /> </details> ## Why It's Good For The Game Lessens overhead, fixes a bug as well. ## Changelog 🆑 fix: fixes a pushed crate not removing on_climbable trait properly off the mob standing atop it /🆑
This commit is contained in:
@@ -1274,8 +1274,9 @@
|
||||
. = ..()
|
||||
affected_mob.remove_status_effect(/datum/status_effect/jitter)
|
||||
if(affected_mob.has_dna())
|
||||
var/list/mutations = affected_mob.dna.mutations || list()
|
||||
affected_mob.dna.remove_mutation_group(mutations - affected_mob.dna.get_mutation(/datum/mutation/race), GLOB.standard_mutation_sources)
|
||||
var/list/mutations = affected_mob.dna.mutations
|
||||
if(LAZYLEN(mutations)) // Don't need to be doing this at all if there are no mutations
|
||||
affected_mob.dna.remove_mutation_group(mutations - affected_mob.dna.get_mutation(/datum/mutation/race), GLOB.standard_mutation_sources)
|
||||
affected_mob.dna.scrambled = FALSE
|
||||
|
||||
/datum/reagent/medicine/antihol
|
||||
|
||||
Reference in New Issue
Block a user