Commit Graph

555 Commits

Author SHA1 Message Date
SkyratBot
b7b6bd501f [MIRROR] removes double spaces AFTER symbols [MDB IGNORE] (#9226)
* removes double spaces AFTER symbols

* Fixing conflicts

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2021-11-05 18:15:12 -04:00
SkyratBot
623f44babc ICEBOX Cargo: Gives Cargo an Exploration Drone Bay, finally (#9204)
Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-11-02 12:34:26 -04:00
GoldenAlpharex
f44614747a I want to hear the whole thing (#9084) 2021-10-27 20:33:15 -04:00
SkyratBot
212d927849 [MIRROR] Adds new Insect Habitat Icebox Ruin. [MDB IGNORE] (#9037)
* Adds new Insect Habitat Icebox Ruin. (#62181)

* Adds new Insect Habitat Icebox Ruin.

* Converts path to area/ruin/ instead of unpowered

* Adds new Insect Habitat Icebox Ruin.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
2021-10-26 17:30:12 +01:00
SkyratBot
71d02ba475 [MIRROR] Gives the Lavaland Syndie base its own ruin typepath [MDB IGNORE] (#8944)
* Gives the Lavaland Syndie base its own ruin typepath (#62075)

#62003 made it so that /unpowered areas actually do what they say they do. Unfortunately, previous mappers used /unpowered on areas that required powered. /unpowered currently makes it impossible to power a ruin.
Fixes: #62074
There's a lot of these that are probably broken, so I'm gonna go through and check these fixing them as I go.

* Gives the Lavaland Syndie base its own ruin typepath

Co-authored-by: Zytolg <33048583+Zytolg@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-10-23 00:23:03 +01:00
SkyratBot
47de3e4490 [MIRROR] Fix CentCom areas/APCs [MDB IGNORE] (#8707)
* Fix CentCom areas/APCs (#61964)

This adds dedicated areas for places that have APCs. It also adds an APC
to the ferry Administrative Office, as it seems unusual to only have one
in Administrative Storage, which has distinct (ACCESS_CENT_CAPTAIN!)
access requirements.

APCs are still responsible for multiple centcom areas elsewhere, as it
seems a bit wasteful to have them everywhere. But this should keep things
coherent if anything happens on CentCom where access distinctions
(or at least, captain tier access!) matters.

Names of the new `/area`s are taken from the names on the airlocks that
lead to them.

* Mirror!

Co-authored-by: esainane <esainane+github@gmail.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-10-22 12:54:41 +13:00
RatFromTheJungle
b4ae3f379c [MODULAR] fixes syndiebase power (#8845)
* syndiebroke episode 1

* Update lavaland.dm
2021-10-15 20:30:26 -04:00
Lyroy
67542f6473 aaa (#8827) 2021-10-14 22:32:13 +01:00
SkyratBot
b365a52a96 [MIRROR] secret gateway update [MDB IGNORE] (#8747)
* secret gateway update (#62003)

admins are now notified about a secret gateway load failing, also logs this
secret z levels are protected from incorporeal movement
fixes unpowered ruin areas being powered
adds a bunch of new areas for secret gateways, since var edited areas probably arent a good idea its good to have a few presets
adds cordon turfs and areas, ingame they just look like the z level border, they are completely indestructible, you cant pass them, and if you somehow do, the cordon area kills you (idea from goon but the code and sprites are mine)
adds a z level injector mapping trait, injects a z level trait into the z level its placed on, if you want to add something like ash storms or whatever to your map
adds an anti xray z level trait, you can optionally add this with the z level injector to protect your map against any xray or whatever

* secret gateway update

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
2021-10-11 16:16:36 +01:00
SkyratBot
2ba8de70fb [MIRROR] Fix Space Hotel duplicate area [MDB IGNORE] (#8554)
* Fix Space Hotel duplicate area

* Update space.dm

Co-authored-by: esainane <esainane+github@gmail.com>
Co-authored-by: KathrinBailey <53862927+KathrinBailey@users.noreply.github.com>
2021-10-06 19:59:12 +01:00
SkyratBot
09c2297ad1 [MIRROR] Secret Gateways: Config loaded Away Missions + Anti-observing Z level traits [MDB IGNORE] (#8437)
* Secret Gateways: Config loaded Away Missions + Anti-observing Z level traits

* 0

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-10-04 00:11:28 +01:00
SkyratBot
1231c6fa58 [MIRROR] Add local APC cache to /area [MDB IGNORE] (#8550)
* Add local APC cache to /area (#61655)

About The Pull Request

for(var/obj/machinery/power/apc/APC in GLOB.apcs_list) in get_apc makes chuck norris shed a tear
Why It's Good For The Game

tears are bad
Changelog

cl
code: /area now retains a local reference to the APC in the area, if any
/cl

* Add local APC cache to /area

Co-authored-by: esainane <esainane+github@gmail.com>
2021-10-02 02:34:42 +01:00
SkyratBot
08a7c5a6a9 [MIRROR] Fixes the icon state of the theater area tile [MDB IGNORE] (#8511)
* Working Version of the theater fix (#61777)

* Fixes the icon state of the theater area tile

Co-authored-by: NamelessFairy <40036527+NamelessFairy@users.noreply.github.com>
2021-10-01 01:24:19 +01:00
SkyratBot
6a3a1aed83 Rendering refactor P1: Plane unification and render relaying (pictures and video included) (#8479)
Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
2021-10-01 00:08:39 +01:00
SkyratBot
eb75198b49 [MIRROR] Adds brand new ruins to the Icebox Ruins roster. [MDB IGNORE] (#8442)
* Adds brand new ruins to the Icebox Ruins roster. (#61607)

* Adds brand new ruins to the Icebox Ruins roster.

Co-authored-by: Zytolg <33048583+Zytolg@users.noreply.github.com>
2021-09-28 04:28:37 +01:00
SkyratBot
93675c6c6f [MIRROR] Changes a bunch of New()s to Initialize()s (#8408)
* Changes a bunch of New()s to Initialize()s (#61626)

* Changes a bunch of New()s to Initialize()s

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2021-09-26 14:27:27 +01:00
SkyratBot
c23bd1cb8c [MIRROR] every case of initialize that should have mapload, does (#8374)
* every case of initialize that should have mapload, does

* E

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-24 23:07:53 +01:00
SkyratBot
033fca0b7b [MIRROR] Default Baselighting to white (#8270)
* Default Baselighting to white (#61544)

* Default Baselighting to white

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
2021-09-19 15:51:38 +01:00
SkyratBot
a2cc89eff8 [MIRROR] restore dynamic lighting to some areas that lost them (#8187)
* restore dynamic lighting to some areas that lost them

* Update centcom.dm

Co-authored-by: Couls <coul422@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-15 03:46:33 +01:00
SkyratBot
e510e35167 [MIRROR] [READY] Adds memory system, and engraving walls with chisels (#8066)
* [READY] Adds memory system, and engraving walls with chisels

* EEE

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-13 23:36:51 +01:00
Gandalf
8eb1a428f3 Revert "Revert "[MIRROR] Refactor area and turf lighting"" (#8063)
* Revert "Revert "[MIRROR] Refactor area and turf lighting (#7775)" (#7902)"

This reverts commit 64c4c52d12.

* This should probably fix it

* I love linters

Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2021-09-10 19:01:18 -04:00
Gandalf
64c4c52d12 Revert "[MIRROR] Refactor area and turf lighting (#7775)" (#7902)
This reverts commit 1219e433be.
2021-09-08 18:48:29 +01:00
SkyratBot
a2aaacdead [MIRROR] large refactor of machine/power code to cut down on processing time and wasted lists (#7920)
* large refactor of machine/power code to cut down on processing time and wasted lists (#60317)

original pr here: #59789 (Closed because he didn't think it was good enough)
came back to this because i realized that

    all machines were area sensitive, meaning they had a list with at least a reference to themselves (assuming they arent in the contents of another movable which most arent) for the purposes of handling power differences when their area changes
    pipes are machines
    there are ~14k machines and ~6k pipes
    i made this problem worse with a recent pr by making it a nested list

so i needed to track what machines needed power, and this pr had work already done that could be used for that purpose. now machines that have use_power == NO_POWER_USE do not have this extra memory overhead for no reason

currently every machine that uses power draws that amount from its area from a dynamic channel via auto_use_power() which is called every SSmachines fire(), then in apc/process() the area's dynamic power draw is reset and the power is used. with static power its not calculated then reset every loop, its just taken from the grid. so now machines handle updating their static power usage from their current area (this doesnt touch power machines that require a wire connection). in order to allow this, use_power, idle_power_usage, and active_power_usage have setters to track state correctly and update the static power usage on the machines current area and handle area sensitivity.

also goes through a lot of heavy abusers of SSmachine processing time and tries to make it faster. makes airalarm/process() into a signal handler for COMSIG_TURF_EXPOSE since air alarms only need to process for changes.
Why It's Good For The Game

SSmachines isnt the heaviest hitter in terms of total cpu and certainly not in terms of overtime, but its not a lightweight. it frequently takes > 50ms to complete a run and seems to be in the top 5 or so of subsystem costs looking at some round profilers

also gets rid of a few thousand lists since every pipe no longer has two useless lists each (and any other machines that dont use power)

Love ya kyler

Co-authored-by: Rohesie <rohesie@ gmail.com>

* large refactor of machine/power code to cut down on processing time and wasted lists

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: Rohesie <rohesie@ gmail.com>
2021-09-02 03:11:59 +01:00
Useroth
f900b1ec6d [MDB IGNORE] Eliminates Toxins (#60619) (#7911)
Repaths everything referring to "toxins" while actually meaning either the room in science or plasma gas. While this PR might be disrespectful to our forefathers, given this is (I believe) a holdover from as far back as the Exadv1 days, this has constantly irked me since I started working with the code. None of the player-facing stuff has referred to plasma as toxin since before 4407 hit, besides the Toxins Lab, and yet all of the type-paths are still pointing at toxins, making it a nightmare to search for in a map editor, and making the code needlessly easy to confuse with that of toxin damage. So this just fires it into the sun.

Anything relating to Toxins, the science subdepartment, now makes reference to Ordnance instead. This felt fitting enough given the focus of the subdepartment is around the creation of and testing of explosives.
Anything relating to plasma gas has, fittingly, been made to refer to plasma gas.

Edit: Ah yes, I feel I should probably apologise off the bat for the size of this PR- the code touched is mostly atmos machinery and simplemobs, a few sprites here and there, and of course the station maps + a few offstation maps.

Makes the code more legible and makes mapping less painful.

(The payment has been made)

Co-authored-by: EOBGames <58124831+EOBGames@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-01 16:50:22 +01:00
SkyratBot
1219e433be [MIRROR] Refactor area and turf lighting (#7775)
* Refactor area and turf lighting

* AAAAAAAA

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-29 00:43:40 +01:00
Gandalf
a43b8c5fc4 Nanotrasen Fleet Command Expansion (#7418)
* A

* Update centcom_computers.dm

* a

* Update CommandReportConsole.js

* commandreporter

* Update command_report_computer.dm

* a

* FEET COMMAND

* a

* e

* e

* Update departments.dm

* F

* a

* a

* Update new_player.dm

* Update new_player.dm

* AAAAAA

* Update zombie.dm

* Update zombie.dm

* aaaaaaa

* 0

* a

* Update CentCom_skyrat.dmm

* aa

* Update nsstitan.dmm

* A

* Update station_goal_computer.dm

* Update station_goal_computer.dm

* Update bridge_officer.dm

* Update CentCom_skyrat.dmm

* Update pda.dm

* Revert "Update pda.dm"

This reverts commit fbe1823726f9edb7f7c3ba03c2d34b08b46ae294.

* logic

* cargo system

* 0

* Update import_console.dm

* Update cargo_skyrat.dmm

* noob coder

* Update cargo_shuttle_console.dm

* a

* Update deck_crew.dm

* Update export_console.dm

* Update deck_crew.dm

* 0

* Update CentCom_skyrat_z2.dmm

* AAAA

* 0

* Update CentCom_skyrat_z2.dmm

* Update cargo_shuttle_console.dm

* Update CentCom_skyrat_z2.dmm

* a

* SELLING CREW IS BAD.

* a

* Update supply.dm

* Update CentCom_skyrat_z2.dmm

* Update supply.dm

* A

* a

* a

* Update zombie.dm

* Update modular_skyrat/modules/central_command_module/code/jobs/fleetmaster.dm

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2021-08-17 18:43:19 +01:00
SkyratBot
d4e11d2080 [MIRROR] Redoes how alarms are handled, moves their behavior to datums (#7547)
* Redoes how alarms are handled, moves their behavior to datums

* a

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-15 23:38:01 +01:00
SkyratBot
73d38e16fe [MIRROR] Areas where it makes sense now have \improper pre-fixed to them (#7525)
* Areas where it makes sense now have \improper pre-fixed to them

* Update lavaland.dm

Co-authored-by: AMonkeyThatCodes <20987591+AMonkeyThatCodes@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-15 22:53:50 +01:00
SkyratBot
aeda8648f5 [MIRROR] fixes a snowflake area subtype that caused bugs (#7439)
* Fixes chapel area not having a default name (#60706)

this subtype did nothing but cause bugs

* fixes a snowflake area subtype that caused bugs

* a

Co-authored-by: 小月猫 <alina.r.starkova@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-08-10 16:19:00 +01:00
SkyratBot
272e84660a [MIRROR] cultists can now once again draw runes in lavaland mining station (#7331)
* cultists can now once again draw runes in lavaland mining station (#60625)

* cultists can now once again draw runes in lavaland mining station

Co-authored-by: InsaneRed <47158596+InsaneRed@users.noreply.github.com>
2021-08-03 20:03:59 +01:00
SkyratBot
9f7d93f3f3 [MIRROR] Remove nanites (#7210)
* Remove nanites

* a

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-07-29 00:45:17 +01:00
SkyratBot
227b722820 [MIRROR] Job refactor: strings to references and typepaths [This could seriously break things :)] (#7006)
* Job refactor: strings to references and typepaths

* 0

* holy fuck

* Update preferences.dm

* Update preferences.dm

* Update preferences.dm

* Update preferences.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-07-28 21:12:42 +01:00
SkyratBot
f593849ce5 [MIRROR] makes get_hearers_in_view() faster AGAIN, fixes issue with previous optimization (#6979)
* makes get_hearers_in_view() faster AGAIN, fixes issue with previous optimization

* Mirror!

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-07-19 20:15:59 +12:00
SkyratBot
c3d3637fdb [MIRROR] Only blend areas when it's actually needed (#6978)
* Only blend areas when it's actually needed (#60237)

* Only blend areas when it's actually needed

* Respect varedits

* Only blend areas when it's actually needed

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
2021-07-19 20:11:16 +12:00
SkyratBot
328658f9ce [MIRROR] Adds a Project Room to Icebox Atmos (#6890)
* Adds a Project Room to Icebox Atmos (#59899)

* Adds a Project Room to Icebox Atmos

Co-authored-by: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com>
2021-07-13 03:44:59 +01:00
SkyratBot
dbeeaf310f [MIRROR] Adds a new ruin to Icebox, the post office. (#6758)
* Adds a new ruin to Icebox, the post office. (#59907)

* Adds a new ruin to Icebox, the post office.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
2021-07-06 21:41:02 +01:00
SkyratBot
aa613e4a17 [MIRROR] Fix cursed spring ruin acting as a polymorph teleport forwarder (#6732)
* Fix cursed spring ruin acting as a polymorph teleport forwarder (#59994)

* Fix cursed spring ruin acting as a polymorph teleport forwarder

Co-authored-by: Wayland-Smithy <64715958+Wayland-Smithy@users.noreply.github.com>
2021-07-05 15:54:21 +01:00
SkyratBot
56d4291ef6 [MIRROR] Reverts Entered() passing dir instead of old loc (#6646)
* Reverts Entered() passing dir instead of old loc (#59910)

* Reverts Entered() passing dir instead of old loc

Co-authored-by: Rohesie <rohesie@gmail.com>
2021-07-02 16:42:34 +01:00
Gandalf
dd82e31878 Firelocks are now sentient + better firealarms (#6595)
* yes

* Update firedoor.dm

* manual triggering/garbage cleanup to prevent hardels.

* few fixes, more logic, autoalarms.

* more fixes

* a

* Update firealarm.dm

* Update firealarm.dm

* eee

* a

* a

* Update firedoor.dm

* 0

* signal

* Update firealarm.dm
2021-07-01 23:38:09 +01:00
SkyratBot
d85a02babd [MIRROR] Refactors move procs to support multitle objects (#6423)
* Refactors move procs to support multitle objects

* Update _blob.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-22 22:40:04 +01:00
SkyratBot
7d1d0e1fad [MIRROR] Refactors most spans into span procs (#6315)
* Refactors most spans into span procs

* AA

* a

* AAAAAAAAAAAAAAAAAAAAAA

* Update species.dm

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-16 00:24:49 +01:00
SkyratBot
d89668386c [MIRROR] Removes the space jam ambience from the AI sat core area (#6287)
* Removes the space jam ambience from the AI sat core area (#59509)

Removes the 'sound/ambience/ambimalf.ogg' file from playing inside the AI's core. The rest of the AI areas (including the rest of the satellite) can still play the sound.

* Removes the space jam ambience from the AI sat core area

Co-authored-by: zxaber <37497534+zxaber@users.noreply.github.com>
2021-06-14 18:35:25 +12:00
Tom
e57298fd7f hotel patch (#6185) 2021-06-08 19:10:18 +01:00
Swiftfeather
1b8002f8c4 Does it (#5971) 2021-05-26 16:29:37 +01:00
SkyratBot
672d3bfe3c [MIRROR] Ai sat maint fix (#5830)
* Ai sat maint fix for radstorms (#59112)

* Makes AI sat maints actually maint for radstorm

* Ai sat maint fix

Co-authored-by: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com>
2021-05-20 22:57:52 +01:00
SkyratBot
fd8d3975a8 [MIRROR] Fixes footprint stacking (#5693)
* Fixes footprint stacking (#58918)

* Fixes footprint stacking, replace_decal needed to return parent, and just, didn't. I'm not sure where the fuck
this came from, or even how to test for it, but here you are

* Adds a unit test to prevent regressions on this error in future

* Uses TEST_ASSERT_EQUAL instead of TEST_ASSERT

Thank you moth man

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Updates a comment to more accurately describe my pain

* maybe fixes it?

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Fixes footprint stacking

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
2021-05-14 22:14:07 +01:00
SkyratBot
f88b8e28f2 [MIRROR] Sentience Fun Balloon TGUI (#5545)
* Sentience Fun Balloon TGUI (#58724)

Gives the sentience fun balloon a TGUI interface before popping! Set the group name and balloon range without needing to VV!

* Sentience Fun Balloon TGUI

Co-authored-by: dragomagol <66640614+dragomagol@users.noreply.github.com>
2021-05-08 16:29:41 +01:00
SkyratBot
a01ca30f2e [MIRROR] fixes a minor typo in an area name (#5162)
* Aft Cntral Primary Hallway is now Aft Central Primary Hallway(#58634)

* fixes a minor typo in an area name

Co-authored-by: manofpepsi <71612753+manofpepsi@users.noreply.github.com>
2021-04-24 20:22:56 +01:00
SkyratBot
a08d398675 [MIRROR] Renews Maintenance Drones (#4868)
* Renews Maintenance Drones

* And these have conflicts too, but you can't see them

* Skyrat Map Updates (Adding Supermatter Room Area)

Co-authored-by: Jonathan Rubenstein <jrubcop@gmail.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-04-16 13:04:21 +02:00
SkyratBot
ef50ca23cb [MIRROR] Ports Cryopods (#4880)
* Ports Cryopods (#58025)

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: Kokonut <38844529+maxymax13@ users.noreply.github.com>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>

* Ports Cryopods

* aaaa

* Update cryopod.dm

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: Kokonut <38844529+maxymax13@ users.noreply.github.com>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-04-13 11:53:56 +01:00