mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-04 14:01:22 +00:00
* Batch 1 /obj/item/storage/firstaid/fire /obj/structure/bookcase /obj/item/book/random QDEL, not actually in the logs but returned wrong hint /obj/effect/landmark/start/wizard QDEL /obj/effect/landmark/start/wizard /obj/effect/landmark/start/new_player /obj/effect/landmark/latejoin /obj/effect/landmark/xeno_spawn /obj/effect/landmark/blobstart /obj/effect/landmark/secequipment /obj/effect/landmark/prisonwarp /obj/effect/landmark/ert_spawn /obj/effect/landmark/holding_facility /obj/effect/landmark/thunderdome/observe /obj/effect/landmark/thunderdome/one /obj/effect/landmark/thunderdome/two /obj/effect/landmark/thunderdome/admin * Batch 2 /obj/machinery/computer/operating /obj/machinery/computer/telecrystals/uplinker /obj/item/card/id/centcom /obj/item/card/id/syndicate /obj/item/card/id/captains_spare /obj/item/card/id/ert /obj/item/card/id/ert/Security /obj/item/card/id/ert/Engineer /obj/item/card/id/ert/Medical /obj/structure/trap /obj/machinery/magnetic_controller /obj/item/storage/toolbox /obj/structure/table * Batch 3 /obj/machinery/vending/snack/random /obj/machinery/vending/cola/random /obj/machinery/computer/pod /obj/machinery/computer/message_monitor /obj/machinery/computer/atmos_control /obj/item/implanter /obj/item/implantcase /obj/item/construction /turf/open/floor/grass /turf/open/floor/grass/snow/basalt /turf/open/floor/grass/fakebasalt /turf/open/floor/carpet /turf/open/floor/fakespace /turf/open/floor/light /turf/open/floor/mineral /turf/open/floor/mineral/abductor /turf/open/floor/circuit /turf/open/floor/clockwork /turf/open/floor/plating /turf/open/floor/engine/cult * Batch 4 /obj/item/storage/backpack/satchel/flat /obj/item/storage/backpack/satchel/flat/secret /turf/closed/indestructible/fakeglass /turf/closed/mineral/random /turf/closed/mineral/gibtonite /turf/closed/mineral /turf/open/floor /obj/effect/spawner/lootdrop * Batch 5 /obj/effect/spawner/lootdrop/maintenance /obj/effect/spawner/lootdrop/costume /obj/item/toy/eightball/broken /obj/item/toy/eightball /obj/item/toy/eightball/haunted /obj/item/device/electropack /obj/item/restraints/legcuffs/beartrap /obj/machinery/airlock_sensor /obj/item/storage/box/ingredients * Batch 6 /mob/living/simple_animal/hostile/carp/ranged /obj/structure/lattice/clockwork /obj/structure/lattice/clockwork/large /obj/structure/lattice/catwalk/clockwork /mob/living/simple_animal/hostile/mushroom /mob/living/carbon/alien /mob/living/carbon/alien/larva /mob/living/carbon/alien/humanoid /mob/living/carbon/alien/humanoid/drone /mob/living/carbon/alien/humanoid/royal/praetorian /mob/living/carbon/alien/humanoid/sentinel
110 lines
3.1 KiB
Plaintext
110 lines
3.1 KiB
Plaintext
/obj/structure/lattice
|
|
name = "lattice"
|
|
desc = "A lightweight support lattice. These hold our station together."
|
|
icon = 'icons/obj/smooth_structures/lattice.dmi'
|
|
icon_state = "lattice"
|
|
density = FALSE
|
|
anchored = TRUE
|
|
armor = list(melee = 50, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 80, acid = 50)
|
|
max_integrity = 50
|
|
layer = LATTICE_LAYER //under pipes
|
|
var/number_of_rods = 1
|
|
canSmoothWith = list(/obj/structure/lattice,
|
|
/turf/open/floor,
|
|
/turf/closed/wall,
|
|
/obj/structure/falsewall)
|
|
smooth = SMOOTH_MORE
|
|
// flags = CONDUCT_1
|
|
|
|
/obj/structure/lattice/Initialize(mapload)
|
|
. = ..()
|
|
for(var/obj/structure/lattice/LAT in loc)
|
|
if(LAT != src)
|
|
QDEL_IN(LAT, 0)
|
|
|
|
/obj/structure/lattice/blob_act(obj/structure/blob/B)
|
|
return
|
|
|
|
/obj/structure/lattice/ratvar_act()
|
|
if(IsEven(x + y))
|
|
new /obj/structure/lattice/clockwork(loc)
|
|
else
|
|
new /obj/structure/lattice/clockwork/large(loc)
|
|
|
|
/obj/structure/lattice/attackby(obj/item/C, mob/user, params)
|
|
if(istype(C, /obj/item/wirecutters))
|
|
to_chat(user, "<span class='notice'>Slicing [name] joints ...</span>")
|
|
deconstruct()
|
|
else
|
|
var/turf/T = get_turf(src)
|
|
return T.attackby(C, user) //hand this off to the turf instead (for building plating, catwalks, etc)
|
|
|
|
/obj/structure/lattice/deconstruct(disassembled = TRUE)
|
|
if(!(flags_1 & NODECONSTRUCT_1))
|
|
new /obj/item/stack/rods(get_turf(src), number_of_rods)
|
|
qdel(src)
|
|
|
|
/obj/structure/lattice/singularity_pull(S, current_size)
|
|
..()
|
|
if(current_size >= STAGE_FOUR)
|
|
deconstruct()
|
|
|
|
/obj/structure/lattice/clockwork
|
|
name = "cog lattice"
|
|
desc = "A lightweight support lattice. These hold the Justicar's station together."
|
|
icon = 'icons/obj/smooth_structures/lattice_clockwork.dmi'
|
|
|
|
/obj/structure/lattice/clockwork/Initialize(mapload)
|
|
. = ..()
|
|
ratvar_act()
|
|
|
|
/obj/structure/lattice/clockwork/ratvar_act()
|
|
if(IsOdd(x+y))
|
|
new /obj/structure/lattice/clockwork/large(loc) // deletes old one
|
|
|
|
/obj/structure/lattice/clockwork/large/Initialize(mapload)
|
|
. = ..()
|
|
icon = 'icons/obj/smooth_structures/lattice_clockwork_large.dmi'
|
|
pixel_x = -9
|
|
pixel_y = -9
|
|
|
|
/obj/structure/lattice/clockwork/large/ratvar_act()
|
|
if(IsEven(x + y))
|
|
new /obj/structure/lattice/clockwork(loc)
|
|
|
|
/obj/structure/lattice/catwalk
|
|
name = "catwalk"
|
|
desc = "A catwalk for easier EVA maneuvering and cable placement."
|
|
icon = 'icons/obj/smooth_structures/catwalk.dmi'
|
|
icon_state = "catwalk"
|
|
number_of_rods = 2
|
|
smooth = SMOOTH_TRUE
|
|
canSmoothWith = null
|
|
|
|
/obj/structure/lattice/catwalk/ratvar_act()
|
|
new /obj/structure/lattice/catwalk/clockwork(loc)
|
|
|
|
/obj/structure/lattice/catwalk/Move()
|
|
var/turf/T = loc
|
|
for(var/obj/structure/cable/C in T)
|
|
C.deconstruct()
|
|
..()
|
|
|
|
/obj/structure/lattice/catwalk/deconstruct()
|
|
var/turf/T = loc
|
|
for(var/obj/structure/cable/C in T)
|
|
C.deconstruct()
|
|
..()
|
|
|
|
/obj/structure/lattice/catwalk/clockwork
|
|
name = "clockwork catwalk"
|
|
icon = 'icons/obj/smooth_structures/catwalk_clockwork.dmi'
|
|
|
|
/obj/structure/lattice/catwalk/clockwork/Initialize(mapload)
|
|
. = ..()
|
|
new /obj/effect/temp_visual/ratvar/floor/catwalk(loc)
|
|
new /obj/effect/temp_visual/ratvar/beam/catwalk(loc)
|
|
|
|
/obj/structure/lattice/catwalk/clockwork/ratvar_act()
|
|
return
|