Skip to content

Commit

Permalink
Merge branch 'master220' into Wryn_Resprite_and_More
Browse files Browse the repository at this point in the history
  • Loading branch information
oi98 authored Dec 7, 2024
2 parents e4079d2 + f865651 commit c0c05bc
Show file tree
Hide file tree
Showing 12 changed files with 141 additions and 72 deletions.
77 changes: 62 additions & 15 deletions _maps/map_files/nova/nova.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -8047,6 +8047,9 @@
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 5
},
/obj/structure/disposalpipe/segment{
dir = 5
},
/turf/simulated/floor/plasteel{
icon_state = "whiteblue"
},
Expand Down Expand Up @@ -21376,6 +21379,10 @@
icon_state = "purplefull"
},
/area/medical/research/nhallway)
"dcl" = (
/obj/effect/spawner/random_spawners/blood_5,
/turf/simulated/floor/plating,
/area/maintenance/secpost)
"dcq" = (
/turf/simulated/wall/r_wall,
/area/toxins/xenobiology)
Expand Down Expand Up @@ -30040,6 +30047,7 @@
},
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/plasteel{
icon_state = "white"
},
Expand Down Expand Up @@ -36205,7 +36213,10 @@
/area/turret_protected/aisat_interior/secondary)
"fkL" = (
/obj/machinery/vending/boozeomat,
/turf/simulated/floor/carpet/black,
/obj/effect/turf_decal/siding/wood{
dir = 4
},
/turf/simulated/floor/wood/dark,
/area/ntrep)
"fkO" = (
/obj/structure/railing/corner{
Expand Down Expand Up @@ -38557,6 +38568,10 @@
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/storage/secure)
"fBy" = (
/obj/effect/decal/cleanable/spiderling_remains,
/turf/simulated/floor/plating,
/area/maintenance/secpost)
"fBE" = (
/turf/simulated/floor/plasteel{
icon_state = "neutralfull"
Expand Down Expand Up @@ -40551,6 +40566,11 @@
},
/turf/simulated/floor/carpet/red,
/area/lawoffice)
"fQX" = (
/obj/effect/decal/cleanable/dirt,
/obj/effect/decal/cleanable/vomit,
/turf/simulated/floor/plating,
/area/maintenance/secpost)
"fQY" = (
/obj/effect/decal/cleanable/dirt,
/obj/item/ammo_casing{
Expand Down Expand Up @@ -49004,6 +49024,9 @@
/obj/structure/cable{
icon_state = "4-8"
},
/obj/machinery/computer/security/telescreen/entertainment{
pixel_y = -30
},
/turf/simulated/floor/engine{
slowdown = -0.3
},
Expand Down Expand Up @@ -58387,6 +58410,9 @@
d2 = 8;
icon_state = "4-8"
},
/obj/structure/disposalpipe/segment{
dir = 10
},
/turf/simulated/floor/plasteel{
icon_state = "white"
},
Expand Down Expand Up @@ -67059,6 +67085,9 @@
pixel_y = -33;
req_access = list(73)
},
/obj/structure/disposalpipe/trunk/multiz/down{
dir = 2
},
/turf/simulated/floor/carpet/black,
/area/ntrep)
"jOs" = (
Expand Down Expand Up @@ -73290,6 +73319,7 @@
},
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/plasteel{
icon_state = "white"
},
Expand Down Expand Up @@ -76649,6 +76679,9 @@
/area/maintenance/fsmaint)
"loQ" = (
/obj/machinery/disposal,
/obj/structure/disposalpipe/trunk{
dir = 1
},
/turf/simulated/floor/carpet/black,
/area/ntrep)
"loR" = (
Expand Down Expand Up @@ -77678,6 +77711,9 @@
},
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/structure/disposalpipe/trunk/multiz{
dir = 2
},
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "dark"
Expand Down Expand Up @@ -77889,6 +77925,7 @@
/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{
dir = 8
},
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/plasteel{
icon_state = "white"
},
Expand Down Expand Up @@ -83543,12 +83580,6 @@
/turf/space/openspace,
/area/space)
"mpH" = (
/obj/structure/disposalpipe/sortjunction{
dir = 1;
name = "Captain's Office";
sortType = 18;
icon_state = "pipe-j2s"
},
/obj/structure/cable{
icon_state = "4-8"
},
Expand All @@ -83565,6 +83596,11 @@
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
dir = 8
},
/obj/structure/disposalpipe/sortjunction/reversed{
dir = 1;
name = "Captain Office";
sortType = 18
},
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
Expand Down Expand Up @@ -86599,6 +86635,7 @@
/obj/structure/cable{
icon_state = "2-8"
},
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/plasteel{
icon_state = "white"
},
Expand Down Expand Up @@ -90705,6 +90742,7 @@
},
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "dark"
Expand Down Expand Up @@ -92138,8 +92176,8 @@
/obj/structure/cable{
icon_state = "1-4"
},
/obj/structure/disposalpipe/segment{
dir = 6
/obj/structure/disposalpipe/junction/reversed{
dir = 2
},
/turf/simulated/floor/plasteel{
icon_state = "white"
Expand Down Expand Up @@ -147670,6 +147708,9 @@
/obj/structure/cable{
icon_state = "4-8"
},
/obj/machinery/computer/security/telescreen/entertainment{
pixel_y = -30
},
/turf/simulated/floor/engine{
slowdown = -0.3
},
Expand Down Expand Up @@ -148865,6 +148906,7 @@
/obj/machinery/door/firedoor,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/plasteel{
icon_state = "white"
},
Expand Down Expand Up @@ -157988,6 +158030,11 @@
},
/turf/simulated/floor/wood/fancy/cherry,
/area/crew_quarters/theatre)
"xhp" = (
/obj/effect/decal/cleanable/dirt,
/obj/effect/spawner/random_spawners/blood_5,
/turf/simulated/floor/plating,
/area/maintenance/secpost)
"xhr" = (
/obj/structure/disposalpipe/segment,
/obj/structure/cable{
Expand Down Expand Up @@ -255171,7 +255218,7 @@ ieI
gtF
otn
kZy
wUw
fQX
chE
ddQ
bbZ
Expand Down Expand Up @@ -255685,7 +255732,7 @@ orm
kfz
xKb
thB
wre
dcl
xic
ddQ
oqM
Expand Down Expand Up @@ -256711,7 +256758,7 @@ btM
syu
gVD
bbZ
wre
fBy
mVH
bRV
wre
Expand Down Expand Up @@ -257228,7 +257275,7 @@ awC
xRZ
pWi
wUw
wre
fBy
ihn
xXG
aiQ
Expand Down Expand Up @@ -257486,7 +257533,7 @@ xRZ
wre
wCs
rhi
wUw
xhp
uhC
cPv
tUk
Expand Down Expand Up @@ -258000,7 +258047,7 @@ hoH
mTa
mqL
jYH
wre
fBy
awC
ibR
jAH
Expand Down
5 changes: 2 additions & 3 deletions code/controllers/subsystem/idlenpcpool.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ SUBSYSTEM_DEF(idlenpcpool)


/datum/controller/subsystem/idlenpcpool/fire(resumed = FALSE)
if(!resumed)
var/list/idlelist = GLOB.simple_animals[AI_IDLE]
src.currentrun = idlelist.Copy()
var/list/idlelist = GLOB.simple_animals[AI_IDLE]
src.currentrun = idlelist.Copy()

//cache for sanic speed (lists are references anyways)
var/list/currentrun = src.currentrun
Expand Down
2 changes: 1 addition & 1 deletion code/datums/uplink_item.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1618,7 +1618,7 @@
name = "Access Tuner"
desc = "The access tuner is a small device that can interface with airlocks from range. It takes a few seconds to connect and can change the bolt state, open the door, or toggle emergency access."
item = /obj/item/door_remote/omni/access_tuner
cost = 30
cost = 15

/datum/uplink_item/device_tools/toolbox
name = "Fully Loaded Toolbox"
Expand Down
3 changes: 3 additions & 0 deletions code/game/machinery/computer/camera.dm
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
// Open UI
ui = new(user, src, "CameraConsole", name)
ui.open()
sleep(1) //Fast and furious: assets were too slow and camera got screwed!
if(!ui.closing)
ui.window?.reinitialize()

/obj/machinery/computer/security/ui_assets(mob/user)
return list(
Expand Down
26 changes: 15 additions & 11 deletions code/game/objects/items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -202,29 +202,33 @@ GLOBAL_DATUM_INIT(fire_overlay, /mutable_appearance, mutable_appearance('icons/g
///Datum used in item pixel shift TGUI
var/datum/ui_module/item_pixel_shift/item_pixel_shift

/obj/item/New()
..()
for(var/path in actions_types)
if(action_icon && action_icon_state)
new path(src, action_icon[path], action_icon_state[path])
else
new path(src)

if(!move_resist)
determine_move_resist()


/obj/item/Initialize(mapload)
. = ..()

if(isstorage(loc)) //marks all items in storage as being such
item_flags |= IN_STORAGE

if(!hitsound)
if(damtype == "fire")
hitsound = 'sound/items/welder.ogg'

if(damtype == "brute")
hitsound = "swing_hit"

for(var/path in actions_types)
if(action_icon && action_icon_state)
new path(src, action_icon[path], action_icon_state[path])

else
new path(src)

if(!move_resist)
determine_move_resist()

add_eatable_component()


/obj/item/proc/add_eatable_component()
AddComponent(/datum/component/eatable)

Expand Down
2 changes: 1 addition & 1 deletion code/modules/mini_games/thunderdome/thunderdome_battle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#define MAX_PLAYERS_COUNT 16
#define MIN_PLAYERS_COUNT 2
#define SPAWN_COEFFICENT 0.85 //how many (polled * spawn_coefficent) players will go brawling
#define PICK_PENALTY 30 SECONDS //Prevents fast handed guys from picking polls twice in a row.
#define PICK_PENALTY 10 SECONDS //Prevents fast handed guys from picking polls twice in a row.
// Uncomment this if you want to mess up with thunderdome alone
/*
#define THUND_TESTING
Expand Down
2 changes: 1 addition & 1 deletion code/modules/surgery/limb_reattach.dm
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@
continue

var/new_limb_type = organ_data["path"]
var/obj/item/organ/external/new_limb = new new_limb_type(holder = target, special = ORGAN_MANIPULATION_DEFAULT)
var/obj/item/organ/external/new_limb = new new_limb_type(target, ORGAN_MANIPULATION_DEFAULT)
new_limb.robotize(company = L.model_info)

if(L.sabotaged)
Expand Down
7 changes: 4 additions & 3 deletions code/modules/surgery/organs/organ.dm
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@
var/hidden_pain = FALSE


/obj/item/organ/New(mob/living/carbon/human/holder)
..(holder)
/obj/item/organ/Initialize(mapload)
. = ..()

if(!max_damage)
max_damage = min_broken_damage * 2

if(ishuman(holder))
if(ishuman(loc))
var/mob/living/carbon/human/holder = loc
update_DNA(holder.dna)
return

Expand Down
11 changes: 6 additions & 5 deletions code/modules/surgery/organs/organ_external.dm
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,16 @@
light_on = FALSE


/obj/item/organ/external/New(mob/living/carbon/holder, special = ORGAN_MANIPULATION_NOEFFECT)
..()
/obj/item/organ/external/Initialize(mapload, special = ORGAN_MANIPULATION_NOEFFECT)
. = ..()

if(dna?.species)
icobase = dna.species.icobase
deform = dna.species.deform
if(ishuman(holder))
replaced(holder, special)
sync_colour_to_human(holder)

if(ishuman(loc))
replaced(loc, special)
sync_colour_to_human(loc)
properly_attached = TRUE

if(is_robotic())
Expand Down
Loading

0 comments on commit c0c05bc

Please sign in to comment.