mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Bug Fixes (#4714)
* Bug Fixes Fixes #4616 - All ladders are now anchored and cannot be dragged, including dive points. Fixes #4663 - Trying to fill a full container from a toilet will inform you the container is full, and thus fail. Fixes #4705 - Being gibbed/dusted/melted will unbuckle the victim prior to their gruesome fate, allowing their spirit freedom to no longer haunt the buckles that bound their mortal form. * Because apparently we shouldn't trust people to use "delete" properly
This commit is contained in:
committed by
Fox McCloud
parent
e6a55a498d
commit
ae70a7fc69
@@ -3,6 +3,7 @@
|
||||
desc = "A sturdy metal ladder."
|
||||
icon = 'icons/obj/structures.dmi'
|
||||
icon_state = "ladder11"
|
||||
anchored = 1
|
||||
var/id = null
|
||||
var/height = 0 //the 'height' of the ladder. higher numbers are considered physically higher
|
||||
var/obj/structure/ladder/down = null //the ladder below this one
|
||||
|
||||
@@ -63,8 +63,11 @@
|
||||
return
|
||||
var/obj/item/weapon/reagent_containers/RG = I
|
||||
if(RG.is_open_container())
|
||||
RG.reagents.add_reagent("toiletwater", min(RG.volume - RG.reagents.total_volume, RG.amount_per_transfer_from_this))
|
||||
to_chat(user, "<span class='notice'>You fill [RG] from [src]. Gross.</span>")
|
||||
if(RG.reagents.total_volume >= RG.volume)
|
||||
to_chat(user, "<span class='warning'>\The [RG] is full.</span>")
|
||||
else
|
||||
RG.reagents.add_reagent("toiletwater", min(RG.volume - RG.reagents.total_volume, RG.amount_per_transfer_from_this))
|
||||
to_chat(user, "<span class='notice'>You fill [RG] from [src]. Gross.</span>")
|
||||
return
|
||||
|
||||
if(istype(I, /obj/item/weapon/grab))
|
||||
|
||||
Reference in New Issue
Block a user