mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
Reworks weather effects to no longer hurt phased entities (#17469)
* Reworks weather effects to no longer hurt phased entities * no tracy ... * . * return * fix planetary weather * clearr that * mob spawners * fix simple mob sloshes * fix those * fix examines * revert that * convert to Z * effect all mobs type
This commit is contained in:
@@ -42,6 +42,8 @@
|
||||
if(vorgans == "No")
|
||||
organs = 0
|
||||
|
||||
var/flavor = tgui_alert(src, "Spawn mob with their character's flavor text?", "Flavor text", list("General", "Robot", "Cancel"))
|
||||
|
||||
var/spawnloc
|
||||
if(!src.mob)
|
||||
to_chat(src, "Can't spawn them in unless you're in a valid spawn location!")
|
||||
@@ -61,10 +63,18 @@
|
||||
|
||||
|
||||
new_mob.key = picked_client.key //Finally put them in the mob
|
||||
if(flavor == "General")
|
||||
new_mob.flavor_text = new_mob?.client?.prefs?.flavor_texts["general"]
|
||||
if(flavor == "Robot")
|
||||
new_mob.flavor_text = new_mob?.client?.prefs?.flavour_texts_robot["Default"]
|
||||
if(organs)
|
||||
new_mob.copy_from_prefs_vr()
|
||||
if(LAZYLEN(new_mob.vore_organs))
|
||||
new_mob.vore_selected = new_mob.vore_organs[1]
|
||||
if(isanimal(new_mob))
|
||||
var/mob/living/simple_mob/Sm = new_mob
|
||||
Sm.vore_active = TRUE
|
||||
Sm.voremob_loaded = TRUE
|
||||
|
||||
log_admin("[key_name_admin(src)] has spawned [new_mob.key] as mob [new_mob.type].")
|
||||
message_admins("[key_name_admin(src)] has spawned [new_mob.key] as mob [new_mob.type].", 1)
|
||||
|
||||
Reference in New Issue
Block a user