mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 13:30:42 +01:00
Split up and rename var/flags (#17794)
* Split up and rename `var/flags` * Various fixes * CL * Don't rename Phoron Guard phoron preset --------- Co-authored-by: Cody Brittain <cbrittain10@live.com>
This commit is contained in:
co-authored by
Cody Brittain
parent
4b9303a1e9
commit
06601c9ec3
@@ -3,7 +3,7 @@
|
||||
desc = "A simple tube full of toothpaste."
|
||||
icon = 'icons/obj/chemical.dmi'
|
||||
icon_state = "toothpaste"
|
||||
flags = OPENCONTAINER
|
||||
atom_flags = ATOM_FLAG_OPEN_CONTAINER
|
||||
possible_transfer_amounts = null
|
||||
amount_per_transfer_from_this = 5
|
||||
volume = 20
|
||||
@@ -27,7 +27,7 @@
|
||||
desc = "An essential tool in dental hygiene."
|
||||
icon = 'icons/obj/chemical.dmi'
|
||||
icon_state = "toothbrush_b"
|
||||
flags = OPENCONTAINER
|
||||
atom_flags = ATOM_FLAG_OPEN_CONTAINER
|
||||
possible_transfer_amounts = null
|
||||
amount_per_transfer_from_this = 5
|
||||
volume = 5
|
||||
@@ -68,7 +68,7 @@
|
||||
if(!reagents.total_volume)
|
||||
to_chat(user, "<span class='warning'>The [initial(name)] is dry!</span>")
|
||||
else if(reagents.total_volume)
|
||||
if(user.zone_sel.selecting == BP_MOUTH && !(M.wear_mask && M.wear_mask.item_flags & AIRTIGHT))
|
||||
if(user.zone_sel.selecting == BP_MOUTH && !(M.wear_mask && M.wear_mask.item_flags & ITEM_FLAG_AIRTIGHT))
|
||||
user.do_attack_animation(src)
|
||||
user.visible_message("<span class='warning'>[user] is trying to brush \the [target]'s teeth \the [src]!</span>")
|
||||
playsound(loc, 'sound/effects/toothbrush.ogg', 15, 1)
|
||||
|
||||
Reference in New Issue
Block a user