0ec876d9fe
The "set internals" button of tank items now turn green when it's used as internals. Removed research scanner from drones (since cyborgs don't have it, it's more consistent) Removed the ignore_madkadjust mask var. The sechailer mask now has an adjust mask action button, so I removed the adjust verb that it was using. The item's action are now created on item/New() instead of trying to create it every time someone picks the item up. I split hud/action.dm, the datum/action stuff is now in the datum folder (/datum/action.dm), whereas the code for action buttons is kept in the hud folder under action_button.dm. Also I moved some /datum/action code that was in some files back into datum/action.dm where it belongs.
55 lines
2.1 KiB
Plaintext
55 lines
2.1 KiB
Plaintext
/obj/item/clothing/mask/balaclava
|
|
name = "balaclava"
|
|
desc = "LOADSAMONEY"
|
|
icon_state = "balaclava"
|
|
item_state = "balaclava"
|
|
flags_inv = HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
|
|
visor_flags_inv = HIDEFACE|HIDEFACIALHAIR
|
|
w_class = 2
|
|
actions_types = list(/datum/action/item_action/adjust)
|
|
|
|
/obj/item/clothing/mask/balaclava/attack_self(mob/user)
|
|
adjustmask(user)
|
|
|
|
/obj/item/clothing/mask/luchador
|
|
name = "Luchador Mask"
|
|
desc = "Worn by robust fighters, flying high to defeat their foes!"
|
|
icon_state = "luchag"
|
|
item_state = "luchag"
|
|
flags_inv = HIDEFACE|HIDEHAIR|HIDEFACIALHAIR
|
|
w_class = 2
|
|
|
|
/obj/item/clothing/mask/luchador/speechModification(message)
|
|
if(copytext(message, 1, 2) != "*")
|
|
message = replacetext(message, "captain", "CAPITÁN")
|
|
message = replacetext(message, "station", "ESTACIÓN")
|
|
message = replacetext(message, "sir", "SEÑOR")
|
|
message = replacetext(message, "the ", "el ")
|
|
message = replacetext(message, "my ", "mi ")
|
|
message = replacetext(message, "is ", "es ")
|
|
message = replacetext(message, "it's", "es")
|
|
message = replacetext(message, "friend", "amigo")
|
|
message = replacetext(message, "buddy", "amigo")
|
|
message = replacetext(message, "hello", "hola")
|
|
message = replacetext(message, " hot", " caliente")
|
|
message = replacetext(message, " very ", " muy ")
|
|
message = replacetext(message, "sword", "espada")
|
|
message = replacetext(message, "library", "biblioteca")
|
|
message = replacetext(message, "traitor", "traidor")
|
|
message = replacetext(message, "wizard", "mago")
|
|
message = uppertext(message) //Things end up looking better this way (no mixed cases), and it fits the macho wrestler image.
|
|
if(prob(25))
|
|
message += " OLE!"
|
|
return message
|
|
|
|
/obj/item/clothing/mask/luchador/tecnicos
|
|
name = "Tecnicos Mask"
|
|
desc = "Worn by robust fighters who uphold justice and fight honorably."
|
|
icon_state = "luchador"
|
|
item_state = "luchador"
|
|
|
|
/obj/item/clothing/mask/luchador/rudos
|
|
name = "Rudos Mask"
|
|
desc = "Worn by robust fighters who are willing to do anything to win."
|
|
icon_state = "luchar"
|
|
item_state = "luchar" |