Skip to content

Commit

Permalink
Update drinkingglass.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Oz1Es authored Dec 25, 2023
1 parent 60fadc5 commit 6ecdac0
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
reagents.standard_splash(loc)
qdel(src)

obj/item/weapon/reagent_containers/food/drinks/attackby(obj/O, mob/user)

Check warning on line 25 in code/modules/reagents/reagent_containers/food/drinks/drinkingglass.dm

View workflow job for this annotation

GitHub Actions / DreamChecker

relatively pathed proc defined here
if(istype(O, /obj/item/weapon/pen))

Check failure on line 26 in code/modules/reagents/reagent_containers/food/drinks/drinkingglass.dm

View workflow job for this annotation

GitHub Actions / DreamChecker

got '{', expected one of: '}', ';', if, while, do, for, spawn, switch, try, set, break, continue, del, var, return, CRASH, throw, goto, operator, term
var/newname = sanitize_safe(input(usr, "Как назвать ваш коктель?"))

Check failure on line 27 in code/modules/reagents/reagent_containers/food/drinks/drinkingglass.dm

View workflow job for this annotation

GitHub Actions / DreamChecker

inconsistent multiple indentation: 3 > 1
if(!newname)
return

Check failure on line 29 in code/modules/reagents/reagent_containers/food/drinks/drinkingglass.dm

View workflow job for this annotation

GitHub Actions / DreamChecker

inconsistent multiple indentation: 2 > 1
else
name = ("Коктель ([sanitize(newname)])")

Check failure on line 31 in code/modules/reagents/reagent_containers/food/drinks/drinkingglass.dm

View workflow job for this annotation

GitHub Actions / DreamChecker

inconsistent multiple indentation: 2 > 1

/obj/item/weapon/reagent_containers/food/drinks/drinkingglass/dropped(mob/user)
. = ..()

Expand Down

0 comments on commit 6ecdac0

Please sign in to comment.