Even more action button updates (#16510)

* Update action buttons up to tgstation/tgstation/pull/29379

* Update action buttons up to tgstation/tgstation/pull/48669

* Some dead signals and stuff
This commit is contained in:
ShadowLarkens
2024-10-22 21:29:42 +02:00
committed by GitHub
parent 2cd150b294
commit 5470702370
12 changed files with 307 additions and 89 deletions
+3 -4
View File
@@ -35,8 +35,8 @@
var/max_pressure_protection // Set this variable if the item protects its wearer against high pressures below an upper bound. Keep at null to disable protection.
var/min_pressure_protection // Set this variable if the item protects its wearer against low pressures above a lower bound. Keep at null to disable protection. 0 represents protection against hard vacuum.
var/list/actions = list() //list of /datum/action's that this item has.
var/list/actions_types = list() //list of paths of action datums to give to the item on New().
var/list/actions //list of /datum/action's that this item has.
var/list/actions_types //list of paths of action datums to give to the item on New().
//This flag is used to determine when items in someone's inventory cover others. IE helmets making it so you can't see glasses, etc.
//It should be used purely for appearance. For gameplay effects caused by items covering body parts, use body_parts_covered.
@@ -335,8 +335,7 @@
if(zoom)
zoom() //binoculars, scope, etc
appearance_flags &= ~NO_CLIENT_COLOR
for(var/X in actions)
var/datum/action/A = X
for(var/datum/action/A as anything in actions)
A.Remove(user)
// called just as an item is picked up (loc is not yet changed)