mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
Everfull Mug (#20248)
* Everfull Mug Adds a new, fairly simple healing item for wizards. * Cleaned up some extra commas * Bug/exploit fix for radial menus suggested by GDN * Resolved conflict
This commit is contained in:
@@ -819,3 +819,38 @@ GLOBAL_LIST_EMPTY(multiverse)
|
||||
heal_brute = 25
|
||||
heal_burn = 25
|
||||
heal_oxy = 25
|
||||
|
||||
/obj/item/reagent_containers/food/drinks/everfull
|
||||
name = "everfull mug"
|
||||
desc = "An enchanted mug which can be filled with any of various liquids on command."
|
||||
icon_state = "evermug"
|
||||
|
||||
/obj/item/reagent_containers/food/drinks/everfull/attack_self(mob/user)
|
||||
var/static/list/options = list("Omnizine" = image(icon = 'icons/obj/storage.dmi', icon_state = "firstaid"),
|
||||
"Ale" = image(icon = 'icons/obj/drinks.dmi', icon_state = "alebottle"),
|
||||
"Wine" = image(icon = 'icons/obj/drinks.dmi', icon_state = "wineglass"),
|
||||
"Holy Water" = image(icon = 'icons/obj/drinks.dmi', icon_state = "holyflask"),
|
||||
"Welder Fuel" = image(icon = 'icons/obj/objects.dmi', icon_state = "fuel"),
|
||||
"Vomit" = image(icon = 'icons/effects/blood.dmi', icon_state = "vomit_1"))
|
||||
var/static/list/options_to_reagent = list("Omnizine" = "omnizine",
|
||||
"Ale" = "ale",
|
||||
"Wine" = "wine",
|
||||
"Holy Water" = "holywater",
|
||||
"Welder Fuel" = "fuel",
|
||||
"Vomit" = "vomit")
|
||||
var/static/list/options_to_descriptions = list("Omnizine" = "a strange pink-white liquid",
|
||||
"Ale" = "foamy amber ale",
|
||||
"Wine" = "deep red wine",
|
||||
"Holy Water" = "sparkling clear water",
|
||||
"Welder Fuel" = "a dark, pungent, oily substance",
|
||||
"Vomit" = "warm chunky vomit")
|
||||
|
||||
var/choice = show_radial_menu(user, src, options)
|
||||
if(!choice || user.stat || !in_range(user, src) || QDELETED(src))
|
||||
return
|
||||
to_chat(user, "<span class='notice'>The [name] fills to brimming with [options_to_descriptions[choice]].</span>")
|
||||
magic_fill(options_to_reagent[choice])
|
||||
|
||||
/obj/item/reagent_containers/food/drinks/everfull/proc/magic_fill(reagent_choice)
|
||||
reagents.clear_reagents()
|
||||
reagents.add_reagent(reagent_choice, volume)
|
||||
|
||||
@@ -473,6 +473,14 @@
|
||||
spawn_on_floor = TRUE // breaks if spawned in hand
|
||||
category = "Artefacts"
|
||||
|
||||
/datum/spellbook_entry/item/everfull_mug
|
||||
name = "Everfull Mug"
|
||||
desc = "A magical mug that can be filled with omnizine at will, though beware of addiction! It can also produce alchohol and other less useful substances."
|
||||
item_path = /obj/item/reagent_containers/food/drinks/everfull
|
||||
log_name = "EM"
|
||||
cost = 1
|
||||
category = "Artefacts"
|
||||
|
||||
//Weapons and Armors
|
||||
/datum/spellbook_entry/item/battlemage
|
||||
name = "Battlemage Armour"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 109 KiB After Width: | Height: | Size: 110 KiB |
Reference in New Issue
Block a user