mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 05:51:56 +01:00
Updates SDQL2 to the latest TG version and adds variable protection. (#17997)
* SDQL2 update * fix that verb * cl * fix that * toworld * this is pointless * update info * siiiiick.. * vv edit update * fix that * fix editing vars * fix VV * discord protection --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/fish/attackby(var/obj/item/W, var/mob/user)
|
||||
if(is_sharp(W) && (locate(/obj/structure/table) in loc))
|
||||
var/transfer_amt = Floor(reagents.total_volume/3)
|
||||
var/transfer_amt = FLOOR(reagents.total_volume/3)
|
||||
for(var/i = 1 to 3)
|
||||
var/obj/item/reagent_containers/food/snacks/sashimi/sashimi = new(get_turf(src), fish_type)
|
||||
reagents.trans_to(sashimi, transfer_amt)
|
||||
|
||||
@@ -361,7 +361,7 @@
|
||||
|
||||
/obj/item/reagent_containers/food/snacks/squidmeat/attackby(var/obj/item/W, var/mob/user)
|
||||
if(is_sharp(W) && (locate(/obj/structure/table) in loc))
|
||||
var/transfer_amt = Floor(reagents.total_volume/3)
|
||||
var/transfer_amt = FLOOR(reagents.total_volume/3)
|
||||
for(var/i = 1 to 3)
|
||||
var/obj/item/reagent_containers/food/snacks/sashimi/sashimi = new(get_turf(src), "squid")
|
||||
reagents.trans_to(sashimi, transfer_amt)
|
||||
|
||||
Reference in New Issue
Block a user