mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
Diona Glow Bulbs (#8163)
You can now weld them apart, and walk through them.
This commit is contained in:
@@ -42,6 +42,25 @@
|
||||
light_power = 3
|
||||
light_range = 3
|
||||
light_color = "#557733"
|
||||
density = 0
|
||||
|
||||
/obj/structure/diona/bulb/attackby(obj/item/W, mob/user)
|
||||
if(W.iswelder())
|
||||
var/obj/item/weldingtool/WT = W
|
||||
if (!WT.welding)
|
||||
to_chat(user, "<span class='danger'>\The [WT] must be turned on!</span>")
|
||||
return
|
||||
else if (WT.remove_fuel(0,user))
|
||||
to_chat(user, "<span class='notice'>You begin slicing through the skin of \the [src].</span>")
|
||||
if(do_after(user, 20/W.toolspeed, act_target = src))
|
||||
if(QDELETED(src) || !WT.isOn())
|
||||
return
|
||||
playsound(src.loc, 'sound/items/Welder2.ogg', 50, 1)
|
||||
user.visible_message("<span class='notice'>\ [user] slices through the skin of \the [src], revealing a confused diona nymph.</span>")
|
||||
else
|
||||
return
|
||||
spawn_diona_nymph(src.loc)
|
||||
qdel(src)
|
||||
|
||||
/obj/structure/diona/bulb/unpowered
|
||||
name = "unpowered glow bulb"
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
################################
|
||||
# Example Changelog File
|
||||
#
|
||||
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
|
||||
#
|
||||
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
|
||||
# When it is, any changes listed below will disappear.
|
||||
#
|
||||
# Valid Prefixes:
|
||||
# bugfix
|
||||
# wip (For works in progress)
|
||||
# tweak
|
||||
# soundadd
|
||||
# sounddel
|
||||
# rscadd (general adding of nice things)
|
||||
# rscdel (general deleting of nice things)
|
||||
# imageadd
|
||||
# imagedel
|
||||
# maptweak
|
||||
# spellcheck (typo fixes)
|
||||
# experiment
|
||||
# balance
|
||||
# admin
|
||||
# backend
|
||||
# security
|
||||
# refactor
|
||||
#################################
|
||||
|
||||
# Your name.
|
||||
author: ParadoxSpace
|
||||
|
||||
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
|
||||
delete-after: True
|
||||
|
||||
# Any changes you've made. See valid prefix list above.
|
||||
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
|
||||
# SCREW THIS UP AND IT WON'T WORK.
|
||||
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
|
||||
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
|
||||
changes:
|
||||
- bugfix: "Diona glow bulbs are no longer dense, and you can weld them to death."
|
||||
Reference in New Issue
Block a user