mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Armor datums (#34793)
* Draft 1 * requested changes * fixes & refactoring & vv support * one more vars access * there we go * change arg name * Update lava.dm * Update armor.dm * Update armor.dm * Update armor.dm * fixes * Update datumvars.dm * Update goliath_hide.dm * Update objs.dm * 0 -> none in checkrights() * Update armor.dm * Update datumvars.dm * Update armor.dm * Adds magic armor type this did not exist before * two missing things from previous commit * I shouldn't webeditor at work
This commit is contained in:
committed by
Jordan Brown
parent
3c8404ad88
commit
97d4e59d87
@@ -556,6 +556,10 @@ GLOBAL_PROTECT(VVpixelmovement)
|
||||
if(variable in GLOB.VVicon_edit_lock)
|
||||
if(!check_rights(R_FUN|R_DEBUG))
|
||||
return
|
||||
if(istype(O, /datum/armor))
|
||||
var/prompt = alert(src, "Editing this var changes this value on potentially thousands of items that share the same combination of armor values. If you want to edit the armor of just one item, use the \"Modify armor values\" dropdown item", "DANGER", "ABORT ", "Continue", " ABORT")
|
||||
if (prompt != "Continue")
|
||||
return
|
||||
if(variable in GLOB.VVpixelmovement)
|
||||
if(!check_rights(R_DEBUG))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user