Commit Graph

31084 Commits

Author SHA1 Message Date
Aleksej Komarov 9506ea340d Do not allow ghosts to change shared tgui state. 2020-04-19 21:15:10 +03:00
Aleksej Komarov 2979838c38 Fixes, Reworks, New Tabs and General Misery 2020-04-19 19:38:55 +03:00
Aleksej Komarov 57674e06d6 Shared tgui states, global Byond API object 2020-04-19 19:38:54 +03:00
Aleksej Komarov 25ea72f09c Build window options in a more compact way 2020-04-19 19:38:54 +03:00
Aleksej Komarov f623776204 Prefetch state 2020-04-19 19:38:54 +03:00
Aleksej Komarov d9e5e02bfc Deserialize undefined, experiment with initialization 2020-04-19 19:38:53 +03:00
Aleksej Komarov 7aab8de9f1 Cleanup, Fix docs on tgui 2020-04-19 19:38:53 +03:00
Aleksej Komarov 5f621c750d Finalize the rework 2020-04-19 19:38:53 +03:00
actioninja ad32b84283 Syndicate Contractor - NtosChat / NetDos
syndicate contractor

suit storage unit

dna console, spawners menu

Space Heater

solar control

scrollable dna console + spawners menu

smoke machine, smartvend

slime body swapper

sleeper

signaler

shuttle manipulator

scanner gate

satellite control

RPD

roulette

Robotics Control Console + Remote Robot Control

radioactive microlaser

radio

proximity sensor

Portable Atmos Devices

personal crafting + particle accelerator

pandemic

Ore Redemption Machine

Ore Box

operating computer

nuclear bomb

ntos supermatter monitor

ntos shipping

ntos robo control

ntos revelation

ntos chat + net dos
2020-04-19 19:36:42 +03:00
Aleksej Komarov 684ce3ff4a Achievements - Station Alert Console
Cheevos, AiAirlock/Restorer, Disposal, FileMan, NetDownloader/Monitor

Station Alert Console

Fix NtosAiRestorer

Remove deleted interfaces from routes.js
2020-04-19 19:36:42 +03:00
actioninja 158e70df99 remove deprecated style var 2020-04-19 19:36:40 +03:00
actioninja fc55b6adda make interface key not lowercased/no wrapper proc 2020-04-19 19:36:40 +03:00
actioninja b5dfd8880d id to component name 2020-04-19 19:36:35 +03:00
ominousgrace 42af788a4b Created a sub type of Wormhole Gun with pre loaded anomaly core (#50438)
Added this Wormhole Gun to the Mad Scientist traitor Kit
2020-04-19 13:07:47 -03:00
Qustinnus 7374b9848d fixes some weird carp code (#50545)
* epic

* Update code/modules/mob/living/simple_animal/hostile/carp.dm

Co-Authored-By: Rohesie <rohesie@gmail.com>

* Update code/modules/mob/living/simple_animal/hostile/carp.dm

Co-Authored-By: Rohesie <rohesie@gmail.com>

* Update code/modules/mob/living/simple_animal/hostile/carp.dm

Co-Authored-By: Rohesie <rohesie@gmail.com>

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-04-19 12:53:07 -03:00
tralezab 7fad442f52 Secrets Panel button: Anonymous Names (and refactors a bit of admin code) (#50478)
* whew

* now accepts random names

* it compiles

* bobbah's review
2020-04-19 23:51:32 +08:00
Ryll Ryll ad3a5bc6a5 Add auto-deadmin timegate option + pref for admins to ignore cult ghost summon (#50460)
About The Pull Request

1 config change and 1 preference change:

    Adds a config option AUTO_DEADMIN_TIMEGATE that, when defined, only enforces config force-deadmins for all roles/sec/command/silicon/antag for the first X seconds in the round. After this time expires, the game will defer to the individual's deadmin settings.
    Adds a preference for admins to ignore being summoned by cult ghosts, starts disabled by default. Nice for when you're sitting around observing a cultist and don't want to be bugged by them suddenly summoning you!

I'm not 100% with dealing with prefs and configs but stock settings preserve previous functionality and must be manually enabled to have effect. Please look it over and offer advice if changes are needed!
Why It's Good For The Game

I don't like the auto-deadmin config option being on in the first place since it's annoying to get deadmin'd when I'm testing antag stuff, but I spoke to @Twaticus who indicated they like having it for roundstart, but agreed it was annoying when trying to test stuff later in the round. This is a simple compromise that lets config-controllers still force people to deadmin at the starts of shifts where most of the proscribed roles are assigned, while not bothering other admins who make themselves a blob at the thunderdome an hour in to test something.
As for the cult ghosts, I hate suddenly getting summoned as a cult ghost while I'm adminning, but other people like being able to be summoned while currently admin'd, so pref time.
Changelog

🆑 Ryll/Shaps
config: Added AUTO_DEADMIN_TIMEGATE which allows config force deadmin settings to only apply for the first X seconds in a round. Starts disabled
admin: New preference to ignore being summoned as a cult ghost while admin'd, starts disabled
/🆑
2020-04-19 21:42:41 +12:00
Timberpoes ac11b2e1f8 Add flag (#50514) 2020-04-19 17:12:39 +08:00
Capsandi 7b7aa1d33e Allows prisoners to retract skin and manipulate organs (#50456)
* How do you use a retractor and why can i use a screwdriver instead

* Spoon drill is not a dream, it is the future

* If you come to a fork in the road, use it in surgery

* the man cant track someone with a fork, yo!
2020-04-19 16:07:09 +08:00
Timberpoes 58bdb85285 Ghost chem scans (#50475) 2020-04-19 16:06:10 +08:00
EgorDinamit 3dc4ae7bc7 [Ready] Forgottenship Ruin - rebalance, config update, uplink item. (#50529)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update code/modules/ruins/spaceruin_code/forgottenship.dm

Co-Authored-By: TiviPlus <57223640+TiviPlus@users.noreply.github.com>

* Lowered Cybersun hardsuit armour values.

* Upgrading energy armour value.

* Now captain isn't male-only.

* Turrets

shot_delay changed from 0.8 seconds to 1.0 second.

* Adds 3 encryption keys for cyborgs and AIs to use

* Syndi-captain gets loud-voice headset.

* Policy config

* Define space syndies

* Added Robotics access for syndies

It's really useful for when they create cyborgs.

* Adds special version of medivend instead of normal one

* Replaces basic syndi-vend with special one

* Update forgottenship.dm

* Cybersun hardsuit doesn't slow you down as said in uplink desc.

* NPC + Area sounds.

Elite Assault Officer projectile sound changed from pulse.ogg to laser.ogg.
Added ambient sounds for all areas.

* Good day sir

Lowered the amount of ores you get.

* assignedrole

Let admins know that this particular shitter is the cybersun captain!

* Weight'n'Cost of ruins fixed in another PR

* Update code/modules/uplink/uplink_items.dm

Co-Authored-By: Bobbahbrown <bobbahbrown@gmail.com>

* Cost/Weight of ALL space ruins changed

* Thanks to fikou

* Only cap's spawner leaves empty-sleeper now

* if(policy)

* Revert "Cost/Weight of ALL space ruins changed"

This reverts commit fa343547f0dcf225710895f50ac2bbf32dc07b5d.

* Fixup

* Minor fix in attempt to fix some stuff

* Update code/modules/ruins/spaceruin_code/forgottenship.dm

Thanks trollbreeder.

Co-Authored-By: trollbreeder <trollbreeder@users.noreply.github.com>

* Update code/modules/ruins/spaceruin_code/forgottenship.dm

Co-Authored-By: trollbreeder <trollbreeder@users.noreply.github.com>

* [Grammar] THE captain!

Co-Authored-By: trollbreeder <trollbreeder@users.noreply.github.com>

* grammar review man

Co-Authored-By: trollbreeder <trollbreeder@users.noreply.github.com>

* "A" vs "The"

Co-Authored-By: trollbreeder <trollbreeder@users.noreply.github.com>

* [Grammar] "an"

Co-Authored-By: trollbreeder <trollbreeder@users.noreply.github.com>

* Update uplink_items.dm

* Update code/modules/ruins/spaceruin_code/forgottenship.dm

Co-Authored-By: trollbreeder <trollbreeder@users.noreply.github.com>

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
Co-authored-by: AnturK <AnturK@users.noreply.github.com>
Co-authored-by: trollbreeder <trollbreeder@users.noreply.github.com>
2020-04-18 11:16:27 +02:00
ShizCalev a642601944 Fixes infinite grilled naming bug (#50503) 2020-04-18 15:26:39 +08:00
Jordie 4c7dfbc655 adds recording who deleted a note (#50445)
It came up that this isn't recorded, only logged.

Technically needs syncing merge with schema change but only deleting notes would break from this and tbh that isn't done very often so I think it'd be fine to yolo.
2020-04-18 11:28:34 +12:00
Ghilker 4449196201 Tiered canisters (#50330)
This PR will add 3 tiers (expandable) to the atmos canisters
Each tier will have a maximum temperature and pressure threshold that will cause the canister to burst if going over them.
How to build each tier

    Tier 1: With 5 metal sheets you make a canister frame tier 0 (similar way of the old canister making) and then you put 5 more metal sheets onto the frame (similar to when building windows on grilles) to finish it and build a tier 1 canister
    Tier 2: You first make the tier 0 canister frame, you put onto it 5 sheets of plasteel to make a tier 1 canister frame and you complete the tier 2 canister by using 5 sheets of titanium onto it
    Tier 3: Make a tier 0 and then a tier 1 canister frame like shown above, then you put 1 bluespace crystal onto the canister frame to make it tier 2 and complete it with plastitanium for a tier 3 canister.
    The maximum temperature and pressure that each canister can hold are:
    Tier 1 5000 K and 50000 kPa
    Tier 2 500000 K and 5e6 kPa
    Tier 3 1e12 K and 1e14 kPa
    All those are calculated based on a filled canister

The canisters won't instantly rupture when reached the temperature, instead they'll start to take damage (10, 5, 3 per tier for the time above the thresholds) untill rupture, so recovery is doable since the damage taken can be heard (is burn damage)
canister-tiers

Why It's Good For The Game

First there is more interaction between departments, then there is a stop to exploitable start round fusion and 50K bombs, since at least you have to wait for mining.
No more you can have the Sun heat inside of a normal canister.
Changelog

🆑
add: Added 3 tiers to the canisters
add: added canister frames (also tiered)
add: canisters rupture if there is too much pressure or heat inside (higher tiers have higher thresholds)
imageadd: added images for frames and overlays
/🆑
2020-04-18 11:20:57 +12:00
FloranOtten eaad711ad2 Fixes word (#50453)
🆑
spellcheck: Deadminned themselves.
/🆑
2020-04-18 11:20:02 +12:00
LemonInTheDark 483cbf552c Fixes bolt colors being jank (#50462)
Fixes bolt colors being jank, damage bolts should reset
2020-04-18 11:11:43 +12:00
TheVekter a38e3c3e25 Prevents anomalies from spawning at the toxins testing area (#50469)
Oversight. I knew I forgot somewhere.
Why It's Good For The Game

Anomalies spawning in the middle of space are dumb.
Changelog

🆑
fix: Anomalies should no longer spawn at the toxins testing range.
/🆑
2020-04-18 11:10:57 +12:00
Thunder12345 aa9be6154a Removes cryo syringes and cryo shotgun darts (#50471)
Purges cryo syringes and cryo shotgun darts, and all references to them from the code.
Why It's Good For The Game

Cryo syringes are, to put it mildly, a blight on chemistry and its balance. Every single design decision around the difficulty of using pyrotechnic chemicals can be sidestepped by heating the ingredients to max temperature and putting them in a single cryo syringe. This leads to instant kill weapons like RDX+teslium or TATP syringes, which mix their ingredients and instantly explode as soon as the syringe makes contact with something.

Nuke ops have to cough up 8 telecrystals for a rocket launcher that causes a roughly similar explosion, plus 4 more for each subsequent rocket, all with the cost of the launcher being a bulky item. Based on this, it seems like it should be inconceivable for chemists to have access to the same firepower with only a syringe gun that fits in a backpack, their chem dispenser available from roundstart and a single techweb node.

Removing these syringes will prevent chemists from evading the dangers of working with explosive chemicals, and should have little to no impact on other applications since very few other reactions exist which need to take place on being injected into a person.

Cryo shotgun darts present an identical problem, and are only not seen in the wild due to their smaller capacity and position far into the techweb making them comparatively undesirable at a point when rapid syringe guns are likely already researched.
Changelog

🆑 Thunder12345
del: Cryo syringes and cryo shotgun darts have been removed from the game
/🆑
2020-04-18 11:10:01 +12:00
Dennok 13456c32a7 remove hub coloring (#50345)
Remove hub color layer indication
Why It's Good For The Game

i see it redundant after i add cable visualization
2020-04-18 10:59:25 +12:00
oranges 5f9037cd1a Further ToS cleanup (#50518) 2020-04-18 10:29:26 +12:00
AnturK 4c9074368e fixes arena shuttle (#50448) 2020-04-17 15:41:26 +02:00
Arkatos1 38ce339d94 Artificer spell icon fix (#50440)
* Artificer spell icon cleanup

* redundant line cleanup
2020-04-17 15:41:03 +02:00
Akrilla 8b69eba77c Equipment Swapping (#50294)
About The Pull Request

Adds a new hotkey, defaulted to V, which allows for swapping out equipment after a small delay. After the delay, you'll equip the currently held item into it's most preferred slot, and swapping out what was worn/equipped currently. This also allows for swapping out jumpsuits without dropping your pocket contents, belt, etc.
Why It's Good For The Game

QoL change that feels intuitive, and helps equipping feel more fluid.
Changelog

🆑
add: Equipment swapping, defaulted to V. Allows you to equip items while swapping out what you're already wearing after a small delay.
/🆑
2020-04-17 20:33:05 +12:00
Ghilker 7cebb50736 Nitryl changes and N2O reactions (#50126)
About The Pull Request

Nitryl formation is made more doable and hopefully we'll see it more used on the station; added N2O formation. Both have the same gases requirements (N2O uses bz as catalyst only) but they have different temperature of reaction (low temp for N2O, high temp for NO2)
N2O now can also hurt you if inhaled in high quantities (is still a toxic gas, let's not forget this)
Why It's Good For The Game

Made nitryl more common for uses and production, added a way to remake N2O. This is an atomized PR base for future works on those gases and more.
Changelog

🆑
add: N2O formation reaction (n2 + o2 + bz as catalyst + cold = n2o)
add: N2O toxic behaviour (if you inhale it you can die in your sleep)
changed: NO2 Formation reaction (n2 + o2 + bz + heat = no2)
/🆑
2020-04-17 20:30:30 +12:00
LemonInTheDark 86f7cb35ab Revert "Revert "Added H2O support to the SM (#49624)"" (#50032)
This reverts commit 69a9eb0.
About The Pull Request

Fixes the sm producing fusion.
dynamic_heat_modifier and power_transmission_bonus never got a clean reset, and because they are global vars, kept gaining value. I've fixed this and tweaked 1 comment about max heat output.
This was a result of misunderstanding from both ghil and ninja, and is now thankfully fixed.
Why It's Good For The Game

This shit is neat, should actually be in the game rather then in my fixing pile.
Changelog

🆑
add: The h2o interactions have been polished and readded. Fucking global variables.
/🆑
2020-04-17 20:28:26 +12:00
ShizCalev adb1948689 More potential TOS compliance stuff (#50502) 2020-04-17 14:32:37 +12:00
Fikou 660503b003 Removes a method to raid centcom (#50485)
* stops raiding centcom with cameras

* this too probably
2020-04-17 03:18:47 +08:00
Aleksej Komarov 947b74cdec tgui: Knobs, Sliders and Performance Improvements (#50483)
* Optimize Box

* Some tweaks to vending machines

* Layout debugger, initial work on sliders

* Slider, Knob, docs, refactoring, etc

* Rebuild tgui

* Knobby Canister

* Remove imports
2020-04-17 03:06:24 +08:00
spookydonut 8dbf1cf4ec Changes to comply with GitHub TOS
Further changes to comply with the ToS

More ToS cleanup

Bye bye George Melons

Better to be safe than sorry
2020-04-14 21:24:50 +00:00
ArcaneMusic eca190ab9c Adds a new modular computer app, the Shipping Scanner App. (#50431)
* Had to put this on hold due to critical FUCK from hydriponics

* Another thing I'm being dragged away from

* Finally finished and happy with the result

* Merge issues: IRRADICATED.

* Made the UI a Labeled List per Stylesugestion

* Apply suggestions from code review

Co-Authored-By: Bobbahbrown <bobbahbrown@gmail.com>

* Fixes up compile issues and tweaks tooltip/disable

* Rebuild tgui

Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2020-04-09 05:32:16 +03:00
ArcaneMusic 04187f7363 Ports the Bot Control PDA program to Modular Computers. (#50351)
* Startwork.

* Time to break this later

* How do I map lists again

* So close I can almost TASTE ITTTT I GOTTA GET A MOVE ON WITH MY LIIIIFE

* Hey, it almost works!

* Finally actually ready to PR

* Nothing to see here but documentation and dead code

* Take 2.

* Revert "Take 2."

This reverts commit 0882d96a30ba79ebead4b5dd3e6f32e65bbf2a76.

* Cleans up tgui compile errors.

* WIP changes, still not happy with this for now.

* I am satisified.

* Rework that UI

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2020-04-09 05:21:21 +03:00
ArcaneMusic 531760d19d Introduces Gene Shears to Botany, and several other QOL tweaks. (#50387)
* Beaker go splash, plants mutate good

* Hard committing to this for the time being.

* Clean up.

* Not sure what I forget here.

* As yes right, I did do this.

* Avoids chemical conflicy my making it uranium, frost oil, potassium.

* More informational, and uncaps removed genes per cut, at the cost of plant health each time.

* Moved to a more critical node to enable gameplay earlier.

* Committing suggestion.

Co-Authored-By: moo <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>

* Very valid point about iterating down loops, ngl

* Fixes fixes, and other fixes.

* Fixes up documentation, and removes unused code.

* Adjusts Nutridrain to be calculated on the process side.

* Prevents Non-Extractable and Non-Removable genes from being removed, as originally intended.

Co-authored-by: moo <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
2020-04-08 17:18:39 -04:00
Fikou ca7415657c hop moves from supply positions to service positions (#50235) 2020-04-08 16:03:28 -04:00
ArcaneMusic 55ae1ceb70 Instability is now shown on the seed extractor. (#50413)
* Instability is now shown on the seed extractor.

* Adds doccumentation.

* Adds class level documentation to seed_pile datums
2020-04-07 15:46:26 -04:00
Fikou 15da0dfb70 fixes arena shuttle 2020-04-07 19:04:05 +02:00
Kyle Spier-Swenson b2872fa6bc Hubstuff (#50422)
cl Qustinnus
add: Hub visibility can now automatically turn on/off based on population (config-based)
/cl

did this for the headmins
2020-04-07 16:14:12 +12:00
XDTM a4c838b8b2 Fixes Cortex Folding Surgery (#50414)
* gps

* Fixes cortex folding

* manual revert

* other manual revert

Co-authored-by: spookydonut <github@spooksoftware.com>
2020-04-06 20:35:51 -04:00
TiviPlus 8bf449ca67 Ports Not-Uno and changes card stacks (#50357)
* I GOT MINE ON DAY ONE

* I have the oldest xbox known to man

* e

* whee

* shits broke

* lol

* Update code/game/objects/items/toys.dm

Co-Authored-By: Bobbahbrown <bobbahbrown@gmail.com>

Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
2020-04-06 19:39:04 -04:00
Tetr4 fddc87d165 Silicons can alt-click and ctrl-click pumps and filters wirelessly (#50356)
* Update thermomachine.dm

* Update thermomachine.dm

* Update cryo.dm

* Update mixer.dm

* Update filter.dm

* Update volume_pump.dm

* Update pump.dm

* Update passive_gate.dm

* Update outlet_injector.dm

* Update outlet_injector.dm

* Update outlet_injector.dm

* Update passive_gate.dm
2020-04-06 19:34:05 -04:00
Jordan Brown 833446fd1f Merge pull request #50420 from ArcaneMusic/slowerprocessing
Properly removes the leftovers of the gene modifier from the techtree.
2020-04-06 19:33:35 -04:00