Commit Graph

697 Commits

Author SHA1 Message Date
Kmc2000 c847e852a5 Multiz update - Power, disposals, atmospherics (#45531)
* Adds a multiz disposal system.

* Adds multiz power + atmos

* Documentation

* Railings + code cleanup

* Bye bye godawful railing code

* multiz atmos pipe now checks pipes below it too.
2019-08-18 21:39:18 -07:00
nemvar e587b970da Adds parent calls to almost all tool_acts (#45582)
* Adds parent calls to almost all tool_acts

* actually compiles
2019-08-03 22:25:57 -07:00
RandolfTheMeh 2c3c2907de CE Blueprint Fixes (#45390)
About The Pull Request

Fixes #45341 so that blueprints can no longer be used when not in-hand, and turfs now properly compile a list of the blueprint items it should hold by delaying when it retrieves this information, as objects such as manifolds and wires didn't initialize with their proper sprite.
Changelog

cl
fix: The CE's blueprints can no longer be used if not in-hand, and its scanning function has been fixed.
/cl
2019-08-01 10:24:20 +12:00
spookydonut 88eca69eb5 converts some spawns into timers (#45429)
* converts spawns into timers

* linter

* change per review
2019-07-29 02:23:15 -07:00
Dennok 97328e9ab3 RCD update (#45357)
Add simple circuits to rcd
2019-07-27 02:11:23 -07:00
Dennok f9addce004 Runtimes fixes (#44885)
* fix meter work on un initialized pipe

* fix runtime in process_cell

whet it try to call to wrong type turf

* fix roundstart runtime in debug sungery disc

*  fix return_air() runtime

Runtime in pipes.dm, line 52: Cannot read null.air

* s

* Update surgery.dm

* Update pipes.dm

* Update meter.dm

* Update LINDA_turf_tile.dm

* Disable atmos processing in outer border on load.

* Update map_template.dm

* Update map_template.dm

* Update map_template.dm

* Update pipes.dm

more runtimes for good of runtimes
2019-07-13 03:58:02 -07:00
oranges 64460ae3ca Merge pull request #44825 from AutomaticFrenzy/patch/lints
In advance of eventually adding SpacemanDMM's linter to Travis, fix everything it can currently detect.

Some lists, including global lists, are given types so that L[i].foo expressions can be checked.

Some procs are given a new form of return type annotation so that DuplicateObject(O).forceMove()-type invocations can be checked.

Open to syntax suggestions on the return type annotations, and on whether the preprocessor strategy makes sense.

Return type syntax is currently roughly:

    <typepath> | <paramname>([_])*(.type)?
2019-07-03 19:31:11 +12:00
ShizCalev 6e44bd3a93 Merge pull request #44796 from kingofkosmos/addswarningspans
Adds warning-spans
2019-07-02 00:47:43 -04:00
81Denton 6f9d58b190 Add vent/scrubber welder logging (#44873)
When someone (un)welds a vent/scrubber, it now leaves fingerprints and
logs the action to the investigate atmos log.
2019-06-30 15:46:58 -07:00
Emmett Gaines 48f19baba1 Randomizes lavaland atmos (#44427)
This makes lavaland atmos random per round. You won't get eternally burning hell worlds or vacuums but it's nice for a bit of variety.

Admins can edit the gas mixture for all of lavaland at once if they want to ruin some miners' day.

image

cl
add: Lavaland atmos is no longer a preset gas mixture and varies per round
tweak: Bonfire minimum oxygen content has been reduced
/cl
2019-06-29 21:07:26 +12:00
vuonojenmustaturska a61b86a052 fixes2 (#44736) 2019-06-27 14:13:19 +02:00
kingofkosmos c969f6d3eb Merge branch 'master' into addswarningspans 2019-06-27 15:12:54 +03:00
skoglol 6d646d8463 Adds click interactions and extended examine text to heater/freezer (#44785)
About The Pull Request

Adds ctrl click to turn on/off heater/freezers, and alt click to max/min their temperature out.
Also adds examine readout for current setting and parts.
Why It's Good For The Game

Less ui window interactions.
Changelog

cl Skoglol
add: Heaters/freezers now support ctrl clicking to turn on and alt clicking to min/max target temperature.
add: Heaters/freezers now shows target temperature and part status on examine.
/cl
2019-06-27 20:30:05 +12:00
kingofkosmos d7dd679b5a Fix span endings (#44812)
Adds a slash to instances of <span>" --> </span>".
2019-06-26 15:11:03 -07:00
Tad Hardesty 0f0604575f Add return type annotations to some procs 2019-06-25 23:03:38 -07:00
kingofkosmos 6bbb64e2cf * more warnings 2019-06-25 21:46:21 +03:00
Dax Dupont c3de64cff0 Revert "[READY] Adds alpha masking helper, which cryo now uses (#44281)"
This reverts commit 8672a8010b.
2019-06-22 20:07:23 +02:00
nicbn 8672a8010b [READY] Adds alpha masking helper, which cryo now uses (#44281)
Fixes #40922
Changelog

cl
fix: Icons will no longer extend past cryo.
imagedel: Xenos and monkeys no longer have snowflake icons for cryo.
/cl
2019-06-22 10:47:41 +12:00
vuonojenmustaturska 8ddc9677c7 examine-code refactor (#44636)
* 1/4 done? maybe?

* more

* stuff

* incremental stuff

* stuff

* stuff & things

* mostly done but not yet

* stuffing

* stuffing 2: electric boogaloo

* Git Commit and the Kingdom of the Crystal Skull

* make it actually compile

* found more stuff

* fixes

* fix AI laws appearing out of order

* fix windows

* should be the remaining stuff

* this time for real

* i guess it should compile too

* fix sechuds
2019-06-19 22:07:57 +02:00
Naksu 28b1e366d8 Resolve some duplicate defines 2019-06-18 13:08:53 +03:00
vuonojenmustaturska 2d74a86353 [READY] Cleans up saycode by removing random hook stubs and using a signal where relevant (#44320)
About The Pull Request

This PR removes speech message and span hooks from dna, mutations, pierrot throat disease, species, tongues, masks, hats, held items, brain traumas and a carbon proc overload handling tonguelessness.

Tonguelessness is now handled by tongue removal registering for the speech signal and the hook being deregistered by having a tongue put in.

Also cleans up some /atom/movable/proc/get_spans() overloads that called the empty parent or overloaded the parent to do the exact same thing as the parent proc did.

Also cleans up calls to radio.talk_into() where the caller would often, as a result of copypasta, provide the proc with fresh copies of the proc's default values for proc args, and makes say_quote() better by giving it a default spans value so that none of the callers have to provide the same default one.
Why It's Good For The Game
Changelog

cl Naksu
code: Cleaned up saycode
/cl

* start with this

* oh man this looks so good

* hats are dead

* /obj/item/proc/speechModification is dead

* brain traumas and get_held_item_speechspans() are dead

* these should be static

* unfortunately we still need this

* /mob/living/carbon/treat_message(message) is kill

* clean up get_spans()

* dunk get_spans, modifies_speech for brain traumas, some superfluous static stuff

* move stuff around

* return values
2019-06-06 18:35:06 +12:00
nemvar 21715d7ac0 Update scrubber.dm 2019-05-30 13:37:48 +02:00
vuonojenmustaturska e06dbbdd99 a thing (#44077) 2019-05-24 12:31:27 +02:00
Jordan Brown db25902248 Merge pull request #44016 from vuonojenmustaturska/cryoicon
Updates cryo tube appearance when a mob exits via teleportation
2019-05-19 11:26:25 -04:00
vuonojenmustaturska 541b7a45e1 Removes commented-out what-if atmos code (#43988)
* meme removal

* Update reactions.dm
2019-05-18 16:27:22 +02:00
vuonojenmustaturska 4e9c77f5af Update cryo.dm 2019-05-18 03:17:54 +03:00
vuonojenmustaturska 251bf9b97f Update LINDA_turf_tile.dm (#43962) 2019-05-14 23:34:10 -04:00
Joey H 45b480e97c New reaction: Nitrous Oxide decomposition (#43560)
* Add N2O decomposition into O2 and N2

* Tweak N2O decomposition reaction values

* Remove leftover concept code

* Tweak formula to play nice with fusion and nitryl formation
2019-05-09 09:23:21 +12:00
as334 aad48392d8 Adds a new minor gas reaction. (#43362)
* Adds Stimulum+Pluoxium radball firing reaction.
Lowers Nitryl formation heat requirement.
Cleans out fusion test canisters.

* Removes forgotten debug message

* Adds a clamp
2019-05-02 12:00:41 +12:00
AnturK d81ff09046 Atmos adjacency subsystem revival (#43447)
This improves init times and makes explosions and other shit that modifies a bunch of turfs faster by saving a proccall and potentially not doing the same work more than once.

cl Naksu
code: Turf adjacency list updates are now handled by a subsystem queue
/cl
2019-04-24 21:21:25 +12:00
William Wallace a944c2a362 Ghosts can analyze gas mixes and some new objects can be analyzed (#43502)
* Ghosts can analyze gas mixes and some new objects can be analyzed

* Replace show_air_status_to with atmosanalyzer_scan
2019-04-16 21:46:36 +12:00
William Wallace c06ec19eb0 Update canister icons when connected to a port (#43518)
I found that when the valve of a canister was closed, the
.../canister/process_atmos proc would never reach its update_icon call.
I've fixed that by removing the early return and having a single
update_icon call at the end run when necessary.
2019-04-07 14:05:05 -07:00
Tlaltecuhtli 7aa9332cab cryo cell start with auto eject true (#43420)
🆑
tweak: cryo cell starts with auto eject true
/🆑
now malkraz has a debt of 1 gbp with me
2019-04-01 10:43:20 -04:00
AnturK 71285cf7c4 Remove update icon in portable atmos process (#43392)
Canisters already do this manually, and other portables visuals don't care
about their contents changes.
2019-03-31 10:37:53 -07:00
ShizCalev f2cea780aa Move map errors to their own log file (#43376)
In interest of getting things fixed without having to constantly crawl
through game.log to find map issues, moved them to their own log file.
2019-03-30 13:54:55 -07:00
vuonojenmustaturska 029aa1d3c8 Webeditor PR touching LINDA (#43330)
* Update LINDA_fire.dm

* Update LINDA_fire.dm

* Update LINDA_fire.dm

* Update LINDA_fire.dm

* Update LINDA_fire.dm

* Update LINDA_fire.dm

* the return value doesn't even fucking matter

* now it's much more readable

* just checking to see if you were awake
2019-03-30 18:57:34 +01:00
Fox McCloud 1d6aa2fb2a Fixes an Ancient LINDA Bug (#43326) 2019-03-28 01:54:38 -04:00
ShizCalev 01ee32329f [s] Fixes vents not logging the signal sender (#43272)
* [s] Fixes vents not logging the signal sender

* removed unused proc
2019-03-22 11:49:56 -04:00
ShizCalev 5d60f2d568 Merge pull request #43215 from AutomaticFrenzy/patch/throw-exception
Replace 'throw EXCEPTION' with CRASH or WARNING
2019-03-21 23:57:27 -04:00
ShizCalev e016660bc2 Fix hitting air alarms with your ID when unlocking them (#43205) 2019-03-20 15:46:42 -07:00
Tad Hardesty 570a4da33e Replace 'throw EXCEPTION' with CRASH or WARNING 2019-03-19 23:09:24 -07:00
4dplanner 72fc9bb043 Fixes wheelchairs [TESTMERGE ME :)] (#42894)
Changelog

cl
fix: Buckle objects can now properly specify lying angle
fix: Wheelchairs and other such vehicles let you use UIs even if your legs don't work
fix: You can now pull objects while in a wheelchair even if your legs don't work
fix: You no longer have a chance of sleeping upside down in a bed
tweak: No longer randomises lying direction a second time on fall
/cl

code: simplified can_stand code

fixes #41703
2019-03-17 23:22:01 +13:00
ShizCalev f3692346d4 Merge pull request #43047 from actioninja/pubbysmfixes
Fixes some mapping issues with the Pubby SM
2019-03-08 04:19:19 -05:00
actioninja 7fa07c45a8 lots of fixes 2019-03-07 02:30:34 -08:00
Tad Hardesty 113d5ffa08 Mark a few procs as varargs explicitly (#42986) 2019-03-07 10:58:30 +01:00
as334 3237b64188 [Ready]Fusion V6: Chaos Hyper-Torus Edition (#42748)
* Fusion 6 begins.

* Adds location effects, updates analyzer feedback.

* Fixes a messed up prob statement

* Further work on reaction and some testing stuff.

* The debuggery continues

* Fusion continues

* Removes a check that's not longer relevant

* Tries to make filtering more possible

* More tweaks to make stable fusion more accessible, prevents a rare float overflow issue, makes unstable fusion less rewarding, reduces nuclear particle damage.

* Fixes my really poor implementation of the examine for volume pumps.

* Fixes an oopsie with probability

* Merge, and also tweaks instability scaling
2019-03-05 20:23:41 +01:00
MacHac 846e89b199 Pumps, scrubbers, and canisters destroyed by explosions now release their contents. (#42809)
* Pumps, scrubbers, and canisters destroyed by explosions now release air.

* Made requested changes.

* Whoops

Co-Authored-By: MacHac <piheads@gmail.com>
2019-02-25 22:21:34 +11:00
Tlaltecuhtli a0d7404391 adds shortcuts to some pipes (#42863)
* test

* w

* should work

* ghost fix

* oof

* e
2019-02-25 21:18:58 +11:00
ShizCalev 76729013ff Fix rogue linebreak in atmos canister warning messages (#42822) 2019-02-18 19:55:46 -08:00
granpawalton 24d5c9f1c3 Fix layer 3 injectors, replace a scrubber with pump on Syndicate Lavaland base (#42747) 2019-02-12 20:22:01 -08:00