Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trivial super hairgrownium moustaches are removable
#9
(10-04-2018, 01:27 PM)Berrik Wrote: Or, you know, super hairgrownium could be changed to work as advertised.

The advertisement is the thing in the wrong, though.

This behavior is intended. There is no indication in the code of the moustaches being intended to stay put.

To illustrate this, let's compare the code for super hairgrownium to that for moustache 'nades

Code:
var/obj/item/clothing/mask/moustache/moustache = new /obj/item/clothing/mask/moustache(H)
H.equip_if_possible(moustache, H.slot_wear_mask)
H.set_clothing_icon_dirty()

vs

Code:
var/obj/item/clothing/mask/moustache/moustache = new /obj/item/clothing/mask/moustache(M)
moustache.cant_self_remove = 1
moustache.cant_other_remove = 1

M.equip_if_possible(moustache, M.slot_wear_mask)
M.set_clothing_icon_dirty()


It'd be rather difficult to *accidentally* omit those two extra lines and then forget to fix it for several years.


Messages In This Thread
RE: super hairgrownium moustaches are removable - by Noah Buttes - 10-07-2018, 03:15 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)