mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 14:08:44 +01:00
Minor fixes (#17966)
* Stops some abilities from being done in VR * yeh * Update comp_helpers.dm * anti exploit * i am speed * Update areas.dm * Update areas.dm * Update dark_tunneling.dm * get rid of these unused abilities incompatible with new system. * forgot the human handling whoops * byeeee * Update shadekin.dm * voucher qdel fix * nutriment * Update shadekin.dm * mooore * Update shadekin.dm * yea * Update comp_helpers.dm * more fixes * bunch of fixes * type and default * dynamic * store settings * . --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
df8cf1c0fd
commit
41ce944736
@@ -231,6 +231,9 @@
|
||||
|
||||
/obj/structure/girder/proc/construct_wall(obj/item/stack/material/S, mob/user)
|
||||
var/amount_to_use = reinf_material ? 1 : 2
|
||||
var/time_to_reinforce = 4 SECONDS
|
||||
if(isrobot(user)) //Robots get a speed boost.
|
||||
time_to_reinforce = 1.5 SECONDS
|
||||
if(S.get_amount() < amount_to_use)
|
||||
to_chat(user, span_notice("There isn't enough material here to construct a wall."))
|
||||
return FALSE
|
||||
@@ -248,7 +251,7 @@
|
||||
|
||||
to_chat(user, span_notice("You begin adding the plating..."))
|
||||
|
||||
if(!do_after(user,40) || !S.use(amount_to_use))
|
||||
if(!do_after(user,time_to_reinforce) || !S.use(amount_to_use))
|
||||
return TRUE //once we've gotten this far don't call parent attackby()
|
||||
|
||||
if(anchored)
|
||||
|
||||
Reference in New Issue
Block a user