mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-08-24 21:47:21 +01:00
Merge branch 'release' of https://github.com/VOREStation/VOREStation into uppstream-update
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
set name = "Modify Robot Module"
|
||||
set desc = "Allows to add or remove modules to/from robots."
|
||||
set category = "Admin"
|
||||
if(!check_rights(R_ADMIN))
|
||||
if(!check_rights(R_ADMIN, R_FUN, R_VAREDIT))
|
||||
return
|
||||
|
||||
if(!istype(target) || !target.module)
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
set name = "Resize"
|
||||
set desc = "Resizes any living mob without any restrictions on size."
|
||||
set category = "Fun"
|
||||
if(!check_rights(R_ADMIN, R_FUN))
|
||||
if(!check_rights(R_ADMIN, R_FUN, R_VAREDIT))
|
||||
return
|
||||
|
||||
|
||||
var/size_multiplier = tgui_input_number(usr, "Input size multiplier.", "Resize", 1)
|
||||
if(!size_multiplier)
|
||||
return //cancelled
|
||||
@@ -21,4 +21,4 @@
|
||||
L.resize(size_multiplier, animate = TRUE, uncapped = TRUE, ignore_prefs = TRUE)
|
||||
|
||||
log_and_message_admins("has changed [key_name(L)]'s size multiplier to [size_multiplier].")
|
||||
feedback_add_details("admin_verb","RESIZE")
|
||||
feedback_add_details("admin_verb","RESIZE")
|
||||
|
||||
Reference in New Issue
Block a user