woo it works
This commit is contained in:
@@ -26,8 +26,8 @@
|
|||||||
|
|
||||||
/datum/beepsky_fashion/proc/apply(mob/living/simple_animal/bot/secbot/beepers) //set the emote depending on the fashion datum, if nothing set, turn it back to how it was initially
|
/datum/beepsky_fashion/proc/apply(mob/living/simple_animal/bot/secbot/beepers) //set the emote depending on the fashion datum, if nothing set, turn it back to how it was initially
|
||||||
//assume name and description is always set, because otherwise, what would be the point of beepsky fashion?
|
//assume name and description is always set, because otherwise, what would be the point of beepsky fashion?
|
||||||
src.name = name
|
beepers.name = name
|
||||||
src.desc = desc
|
beepers.desc = desc
|
||||||
if(death_emote)
|
if(death_emote)
|
||||||
beepers.death_emote = death_emote
|
beepers.death_emote = death_emote
|
||||||
else
|
else
|
||||||
@@ -65,6 +65,7 @@
|
|||||||
|
|
||||||
//actual fashions from here on out
|
//actual fashions from here on out
|
||||||
/datum/beepsky_fashion/wizard
|
/datum/beepsky_fashion/wizard
|
||||||
|
obj_icon_state = "wizard"
|
||||||
name = "Archmage Beepsky"
|
name = "Archmage Beepsky"
|
||||||
desc = "A secbot stolen from the wizard federation."
|
desc = "A secbot stolen from the wizard federation."
|
||||||
death_emote = "BOT casts EI NATH on themselves!"
|
death_emote = "BOT casts EI NATH on themselves!"
|
||||||
|
|||||||
@@ -242,6 +242,7 @@ Auto Patrol: []"},
|
|||||||
bot_hat = H
|
bot_hat = H
|
||||||
H.forceMove(src)
|
H.forceMove(src)
|
||||||
update_beepsky_fluff()
|
update_beepsky_fluff()
|
||||||
|
regenerate_icons()
|
||||||
else
|
else
|
||||||
to_chat(user, "<span class='warning'>You set [H] on [src]'s head, but it falls off!</span>")
|
to_chat(user, "<span class='warning'>You set [H] on [src]'s head, but it falls off!</span>")
|
||||||
H.forceMove(drop_location())
|
H.forceMove(drop_location())
|
||||||
@@ -250,12 +251,17 @@ Auto Patrol: []"},
|
|||||||
var/datum/beepsky_fashion/BF = new bot_hat.beepsky_fashion
|
var/datum/beepsky_fashion/BF = new bot_hat.beepsky_fashion
|
||||||
if(BF)
|
if(BF)
|
||||||
BF.apply(src)
|
BF.apply(src)
|
||||||
regenerate_icons()
|
|
||||||
|
|
||||||
/mob/living/simple_animal/bot/secbot/regenerate_icons()
|
/mob/living/simple_animal/bot/secbot/regenerate_icons()
|
||||||
..()
|
..()
|
||||||
if(bot_hat)
|
if(bot_hat)
|
||||||
var/datum/beepsky_fashion/fashion = new bot_hat.beepsky_fashion
|
var/datum/beepsky_fashion/fashion = new bot_hat.beepsky_fashion
|
||||||
|
if(!fashion.obj_icon_state)
|
||||||
|
fashion.obj_icon_state = bot_hat.icon_state
|
||||||
|
if(!fashion.obj_alpha)
|
||||||
|
fashion.obj_alpha = bot_hat.alpha
|
||||||
|
if(!fashion.obj_color)
|
||||||
|
fashion.obj_color = bot_hat.color
|
||||||
add_overlay(fashion.get_overlay())
|
add_overlay(fashion.get_overlay())
|
||||||
|
|
||||||
/mob/living/simple_animal/bot/secbot/emag_act(mob/user)
|
/mob/living/simple_animal/bot/secbot/emag_act(mob/user)
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 364 B After Width: | Height: | Size: 370 B |
Reference in New Issue
Block a user