mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +01:00
What kind of a PR is Soap? (#9306)
This commit is contained in:
@@ -19,16 +19,17 @@
|
||||
var/key_data
|
||||
var/clean_msg
|
||||
var/last_clean
|
||||
var/capacity = 10
|
||||
drop_sound = 'sound/misc/slip.ogg'
|
||||
|
||||
/obj/item/soap/New()
|
||||
..()
|
||||
create_reagents(10)
|
||||
create_reagents(capacity)
|
||||
wet()
|
||||
|
||||
/obj/item/soap/proc/wet()
|
||||
playsound(loc, 'sound/effects/slosh.ogg', 25, 1)
|
||||
reagents.add_reagent(/datum/reagent/spacecleaner, 10)
|
||||
reagents.add_reagent(/datum/reagent/spacecleaner, capacity)
|
||||
|
||||
/obj/item/soap/attackby(var/obj/item/I, var/mob/user)
|
||||
if(istype(I, /obj/item/key))
|
||||
@@ -112,6 +113,7 @@
|
||||
desc = "An untrustworthy bar of soap. Smells of fear."
|
||||
icon_state = "soapsyndie"
|
||||
item_state = "soapsyndie"
|
||||
capacity = 20
|
||||
|
||||
/obj/item/soap/space_soap
|
||||
name = "Soap"
|
||||
|
||||
Reference in New Issue
Block a user