Files
Aurora.3/code/defines/obj.dm
Fluffy a3a4d46fa7 Hitby refactor (#19624)
Refactored hitby to be in line with TG's version.
Refactored item weight defines to a more clear naming scheme, also in
line with TG's version.
Refactored how the movement bumps are handled, ported signals to handle
them, in preparation for the movement update.
Fixed disposal hit bouncing the hitting atom on the wall.
Items do not push other items anymore if they are tiny.
2024-07-28 20:52:08 +00:00

73 lines
2.0 KiB
Plaintext

/obj/effect/mark
var/mark = ""
icon = 'icons/misc/mark.dmi'
icon_state = "blank"
anchored = 1
layer = 99
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
unacidable = 1//Just to be sure.
/obj/effect/beam
name = "beam"
density = 0
unacidable = 1//Just to be sure.
var/def_zone
movable_flags = MOVABLE_FLAG_PROXMOVE
pass_flags = PASSTABLE | PASSRAILING
/proc/make_list_rank(rank)
var/list/acting_rank_prefixes = list("acting", "temporary", "interim", "provisional")
for(var/prefix in acting_rank_prefixes)
rank = replacetext(rank, "[prefix] ", "")
for(var/datum/faction/faction as anything in SSjobs.factions)
rank = replacetext(rank, " ([faction.title_suffix])", "")
return rank
/obj/structure/showcase
name = "Showcase"
icon = 'icons/obj/stationobjs.dmi'
icon_state = "showcase_1"
desc = "A stand with the empty body of a cyborg bolted to it."
density = 1
anchored = 1
unacidable = 1//temporary until I decide whether the borg can be removed. -veyveyr
/obj/item/mouse_drag_pointer = MOUSE_ACTIVE_POINTER
/obj/item/beach_ball
icon = 'icons/misc/beach.dmi'
icon_state = "ball"
name = "beach ball"
item_state = "beachball"
density = 0
anchored = 0
w_class = WEIGHT_CLASS_BULKY
force = 0
throwforce = 0.0
throw_speed = 1
throw_range = 20
obj_flags = OBJ_FLAG_CONDUCTABLE
drop_sound = 'sound/items/drop/rubber.ogg'
pickup_sound = 'sound/items/pickup/rubber.ogg'
/obj/item/beach_ball/afterattack(atom/target as mob|obj|turf|area, mob/user as mob)
user.drop_item()
src.throw_at(target, throw_range, throw_speed, user)
/obj/effect/spawner
name = "object spawner"
/obj/structure/spaceship
name = "Abandoned Shuttle"
desc = "An ancient and inoperable shuttle-craft"
icon = 'icons/obj/machinery/SpaceShip.dmi'
anchored = 1
density = 1
/obj/structure/mainframe
name = "Ancient Mainframe"
desc = "A long-fried AI mainframe from the 2420s. It's more fit to be holding rats than AIs at this point."
icon = 'icons/obj/mainframe.dmi'
anchored = 1
density = 1