mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
@@ -29,10 +29,17 @@
|
||||
|
||||
/mob/living/simple_animal/hostile/construct/New()
|
||||
..()
|
||||
name = "[ticker.mode.cultdat.get_name(const_type)] ([rand(1, 1000)])"
|
||||
real_name = ticker.mode.cultdat.get_name(const_type)
|
||||
icon_living = ticker.mode.cultdat.get_icon(const_type)
|
||||
icon_state = ticker.mode.cultdat.get_icon(const_type)
|
||||
if(!ticker.mode)//work around for maps with runes and cultdat is not loaded all the way
|
||||
name = "[const_type] ([rand(1, 1000)])"
|
||||
real_name = const_type
|
||||
icon_living = const_type
|
||||
icon_state = const_type
|
||||
else
|
||||
name = "[ticker.mode.cultdat.get_name(const_type)] ([rand(1, 1000)])"
|
||||
real_name = ticker.mode.cultdat.get_name(const_type)
|
||||
icon_living = ticker.mode.cultdat.get_icon(const_type)
|
||||
icon_state = ticker.mode.cultdat.get_icon(const_type)
|
||||
|
||||
for(var/spell in construct_spells)
|
||||
AddSpell(new spell(null))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user