Commit Graph

590 Commits

Author SHA1 Message Date
Jamie D
0dd6fae119 [Port] Explosions Subsystem Test 1 (#10202)
* Explosions Subsystem Test 1

* Fucking linter

* Fucking TG Are Dents

* SCREW OFF LINTER
2020-10-28 17:54:13 +00:00
Jamie D
fb8eeb5a1f Tgui 4.0 - IN PROGRESS (#10116)
* Night 1

* Bit more

* MORE

* JS AND SHIT

* MORE

* IT COMPILES MOSTLY

* More and prepare for tgchat

* Woah there captain, TGUI 4.1 first.

* Shoo

* Copyshites

* Hmm

* Hmm

* Fixxxxx

* Fucking Apcs

* Fuck off autoupdate

* Rename DropDown.js to Dropdown.js

* Vending

* Few Fixes

* More Fixes

* Stand HO

* fixes sleepers without breaking anything else I think

* Oops

* Fixerinos

* Oopsie

* BUNDLE

Co-authored-by: Theos <theubernyan@gmail.com>
2020-10-25 18:34:06 +00:00
Wayward Horizons
50d5e404f2 White ship randomization + minor renaming (#9878)
* Renames white ships to be neutral

* ahhhhh
2020-10-09 13:16:26 +01:00
alexkar598
8b963c9626 Documents 61 files (#9306)
* Document the world (#46495)

* Document drone verbs.dm

* Document the outfit datum with autodoc (#45415)

* Uncurse take_damage and document obj_defense.dm (#45146)

The original take_damage proc defined vars for no good reason had some 
duplicate code and wasn't very readable.

If you are wondering why it calls obj_break every time it takes damage 
while below integrity_failure, that's the way it used to be. Most (if 
not all) stuff that takes advantage of this functionality already 
accounts for this.

* Convert some code docs into the auto doc format (#45101)

* Commit Message

* Fixes

* e

* Documents browserOutput.dm (#51439)

* Add autodoc to the callback datum (#45463)

* Autodoc the vending machine (#45468)

* Autodoc the vending machine

* Update code/modules/vending/_vending.dm

Co-Authored-By: Tad Hardesty <tad@platymuus.com>

* autodoc organ helpers (#45464)

* timer proc autodocs (#46530)

* bunch of define autodocs

* ballistic guns autodoc (#45578)

* ballistic guns autodoc

* fixes

* client vars autodoc (#46446)

About The Pull Request

Autodocs client vars

* Autodoc for XB and Research

* shuttle docking autodoc (#48677)

* Add autodocs for reagents (#49478)

* Fix

Co-authored-by: oranges <email@oranges.net.nz>
Co-authored-by: Jonathan (JJRcop) Rubenstein <jrubcop@gmail.com>
Co-authored-by: nemvar <47324920+nemvar@users.noreply.github.com>
Co-authored-by: alexkar598 <>
Co-authored-by: Tad Hardesty <tad@platymuus.com>
Co-authored-by: spookydonut <github@spooksoftware.com>
Co-authored-by: actioninja <actioninja@gmail.com>
2020-07-24 21:38:47 -04:00
Theos
23da88d721 fix monastary exterior shuttle controls (#9286) 2020-07-23 03:04:41 -04:00
swissloaf
8fc3535cf3 Re-activates the shuttle manipulator (#9265)
* Update manipulator.dm

* Update manipulator.dm
2020-07-21 22:38:20 +01:00
Jamie D
b69edcea45 Widescreen tweaks (#9162)
* Part 1

* :(

* Ba da Boom

* Jumps Bad
2020-07-09 08:20:02 +01:00
TheGamerdk
9f66ed674e Removes BSQL (#8697)
* Update rust_g.dm

* thing

* thing

* thing

* thing

* thing

* t

* t

* Update random_books.dm

* Update new_player.dm

* Update client_procs.dm

* f

* uwu

* Update dbcore.dm

* uwu

* Update permissionedit.dm

* Update dbcore.dm

* Update dbcore.dm

* Update blackbox.dm

* Update dbcore.dm

* d

* uwu

* Parameterize ipintel

* Update lib_machines.dm

* Parameterize stickyban

* Update sql_message_system.dm

* f

* thing

* thing

* polls

* Parameterize some of sql_ban_system

* f

* Update dbcore.dm

* Parameterize ban check

* Parameterize jobban creation

* uwu

* uwu

* Parameterize edit ban

* git

* uwu

* uwu

* Update install_rust_g.sh

* Remove libmariadb.dll

* Update deploy.sh

* uwu

* Avoid extra __detect_rust_g proccalls

* uwu

* ree

* Remove libmariadb.so download script

* boom

* Turdis

* finally

* sneaky

* night night

* list(

* token

* Update dbcore.dm

* uwu

* Improve readability on a query

* uwu

* Update sql_message_system.dm

* Update sql_message_system.dm

* Fix Malformed SQL Queries When Editing Admin Permissions (#51625)

* fixes

* s

* Update antag_token.dm

* Update create_poll.dm

* Update lib_machines.dm

* Update lib_machines.dm

* Update client_procs.dm

* Update rust_g.dm

* Update code/__DEFINES/rust_g.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* Update sql_message_system.dm

* Update sql_message_system.dm

* Update sql_message_system.dm

* Update sql_message_system.dm

* Update code/controllers/subsystem/blackbox.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* Update code/controllers/subsystem/blackbox.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* Update turdis.yml

* Update client_procs.dm

* Update client_procs.dm

* debug logging

* Update client_procs.dm

* Update client_procs.dm

* Update yogstation/code/modules/client/client_procs.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* Update sql_ban_system.dm

Co-authored-by: Tad Hardesty <tad@platymuus.com>
Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>
2020-07-02 19:46:37 -04:00
Jamie D
d5722fa189 Makes Luxury Shuttle Good again (#8845)
* Makes Luxury Good again

* Colour changes

* Fucking green walls

* Gold airlocks

* Glass gold

* Sec Glass

* Diamond walls go bye bye

* Teleport Bad

* turds

* requested changes and more

* Update special.dm

* Update code/modules/shuttle/special.dm

* Update code/modules/shuttle/special.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

Co-authored-by: wejengin2 <patpol4@protonmail.com>
Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>
2020-06-29 22:15:10 +01:00
jcatjmeow
9d7e19cda7 Update emergency.dm (#9043) 2020-06-27 05:40:40 -04:00
alexkar598
dab25cb5a6 Dreamchecker (#8977)
* Changes obj_break on machines to use parent calls (#46485)

The way stat |= BROKEN was done was a mess, this makes everywhere use obj_break with proper parent calls and adds a signal for when a machine enters the broken state.
Why It's Good For The Game

Better code quality, more signals.

* e

* Can pass refactor (#48659)

* Makes all CanPass procs call parent

* Makes CanPass more extendable and gives the mover a say in the matter

* Replace CanPass with CanAllowThrough to use the new system

Regex replace `(?<!proc)/CanPass\(` => `/CanAllowThrough(`

* Simple optimization pass

* Adds linting for equipped() pickup() dropped() (#46614)

* lint some inventory procs

* lineends

* f

*  line end

* lineend

* fuck

* changes per review

* does more

* Changes power_change() to respect parent calls for toggling NOPOWER (#46486)

About The Pull Request

Similar to #46485
Now all relevant uses of power_change() call parent, theres a signal sent when a machine changes the NOPOWER flag, all remaining machines that were using power_change() instead of update_icon() have been fixed.
Why It's Good For The Game

code quality, eventually signal stuff. and signal stuff

* Fix Crossed/Entered/Exited/Bump/ui_act parameter casting (#49016)

About The Pull Request

Detected as part of my work on SpaceManiac/SpacemanDMM#167

* Makes Crossed and Moved should call parent (#49671)

* makes setDir shouldcallparent (#49692)

* owo

* hehe

* Update atoms.dm

* Update atoms.dm

* Update atoms_movable.dm

Co-authored-by: spookydonut <github@spooksoftware.com>
Co-authored-by: alexkar598 <>
Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
2020-06-23 16:15:23 -04:00
Rohesie
c22f636c22 Ports href protections honk 2020-06-15 01:09:49 -04:00
TheGamerdk
5e514f81e7 Ports tgui-next 3.0, removes tgui 1.0 + Smart Asset Cache (#8291)
* Update Smes.js

* teleporter

* timer

* mining

* infra + prox

* uplink

* apc

* laser

* compile

* ui_x and ui_y and custom_materials

* 512

* smart asset cache

* vending machines

* Fixes missing icons. Removes rasta beanie

* cargo

* MULE + Intelli + Shuttle + Preferences

* AI fixer

* robot

* thing

* thing x2

* mecha

* compile

* oops

* Mining Vendor Fix

* Update traitordevices.dm

* Update proximity.dm

* Update EmergencyShuttleConsole.js

* rebuild

* uwu

* Revert "uwu"

This reverts commit de3ab5ff76.

* Update autodrobe.dm

* Update Vending.js

* Update _vending.dm

* Update Vending.js

* Update _vending.dm

* Build

* Update _vending.dm

* rebuild

* Update _vending.dm

* laser

* shuttle

* gigas

* signaller

* launchpad

* Update Vending.js

* eigthball

* pad

* ntnet relay

* labor stuff

* solar

* contrcators

* sprite fix

* Fixes contractor runtime (#45932)

* fix

* word change

* fixes contractor tablet (#47559)

* contractor

* ntos card console thing

* fixes

* dna console

* tweaks

* byondUI

* cargo hold

* fixes

* robit

* malf picker

* compile

* dependencies

* electropack

* transfer valve

* canvas

* fixes

* uplni stuff

* dna

* e

* tgui

* Octet separators in DNA Console genome sequencer. (#50516)

* Octet separators for the octet separator god.

* Code review changes

* REMOVES TGUI

* KNOB

* r

* tgui 3.0

* compile

* fixes

* fixes

* crafting fixes

* canister

* refactors

* bio gen

* MIT license

* seed

* Update NaniteCloudControl.js

* Update Uplink.js

* uwu

* oops

* fixes

* nanites

* Fixes nanite deactivation timer

* Revert "Fixes nanite deactivation timer"

This reverts commit c5fcfd34de.

* Revert "nanites"

This reverts commit eade3a61f4.

* various fixes

* compile

* turdis

* Update build_tgui.sh

* akwrard

* ha

* haha, HAHAHA!!

* compile

* fixes

* quick fix

* gps + dna fixes

* Compile

* DNA

* fixes

* sleeper + optable

* fixes

* mulebot

* Update cloning.dm

* Update cloning.dm

* Update ClockworkSlab.js

* Update Operating.dm

* Update nanite_chamber.dm

* Update nanites.dm

* Update nanites.dm

* Update stasis.dm

* Update asset_list_items.dm

* Update ClockworkSlab.js

* uwu

* oof

* Various FIxes + clockwork UI

* compile

* Sleeper fix

* Crew console

* AWKWARD

* PsiWeb

* uwu

* uwu

* psi web

* TGUI GONE

* compile

* autolethe

* Gulag + Solar

* Canister

* build

* private sale

* compile

* Update ntnrc_client.dm

* uwu

* canvas

* uwu

* uwu

* uwu

* uwu

* uwu

* uwu

* uwu

* uwu

* compile

* rust_g 0.4.3

* rust_g 0.4.4

* paint

* fixed

* icons

* Update easter.dm

* Update yogstation.dme

* asset cache

* Update asset_cache.dm

* opops

* hmm

* hm

* oh no

* awkward

* Update asset_list_items.dm

* hey

* Update asset_list_items.dm

* Update asset_cache_item.dm

* last try

* Update asset_list_items.dm

* fuck it

* hmm

* Update asset_list_items.dm

* uwu

* Update client_procs.dm

* Update PDA.dm

* no i didn't

* Update guardianbuilder.dm

* Update solar.dm

* Update minimap.dm

* Update _vending.dm

* tgui

* Update skin.dmf

* Update tgui.bundle.js

* Fixes

* Update borg_monitor.dm

* nanite fix

* Update rust_g.dll

Co-authored-by: Neo <26365368+Neo-0@users.noreply.github.com>
Co-authored-by: Arkatos1 <43862960+Arkatos1@users.noreply.github.com>
Co-authored-by: Rob Bailey <actioninja@gmail.com>
Co-authored-by: nightred <nightred@gmail.com>
Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
Co-authored-by: zxaber <37497534+zxaber@users.noreply.github.com>
Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
Co-authored-by: TheChosenEvilOne <34602646+TheChosenEvilOne@users.noreply.github.com>
Co-authored-by: Jordie <4343468+Jordie0608@users.noreply.github.com>
Co-authored-by: 81Denton <32391752+81Denton@users.noreply.github.com>
Co-authored-by: MrPerson <spamtaffic@gmail.com>
Co-authored-by: Akrilla <mrtactical@hotmail.co.uk>
Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: spookydonut <github@spooksoftware.com>
Co-authored-by: AnturK <AnturK@users.noreply.github.com>
Co-authored-by: oranges <email@oranges.net.nz>
Co-authored-by: WarlockD <warlockd@gmail.com>
Co-authored-by: XDTM <heliumt@yahoo.it>
Co-authored-by: Sanator <39862806+Sanator@users.noreply.github.com>
Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
Co-authored-by: Kelenius <kelenius@ya.ru>
2020-06-14 17:52:52 -04:00
alexkar598
2333d64f09 Adds support for 513(and unicode), additionally drops supports for 512 in the process and updates dreamchecker(turdis) and casually fixes about 90 bugs in the codebase (#8324)
* Cherry picks the unicode part 2 PR from TG

* Things

* drop 512 support

* TAN --> tan

* Manually does the things that was in renamed files

* CLAMP --> clamp

* ismovableatom -> ismovable

* bugfixes, tg is bad

* Ports sanitize_name

* Bumps checks

* Fixes new linter errors (#48126)

About The Pull Request

This fixes the errors raised by the new feature I'm adding to the linter: SpaceManiac/SpacemanDMM#119

* Update SpacemanDMM suite to 1.2 (#48785)

* Update SpacemanDMM suite to 1.2

* Fix new lint errors

* Removes unreachable code (#48143)

About The Pull Request

As detected by SpaceManiac/SpacemanDMM#123

* casually fixes 50 bugs

* stoopid evil dreamchecker

* stoopid evil dreamchecker

* stoopid evil dreamchecker

* almost the same thing

* Makes all UIs UTF-8

* Fixes bugs

* Fixes runtimes, some related to 513, some not

* Fixes agent ids

Co-authored-by: MrPerson <spamtaffic@gmail.com>
Co-authored-by: alexkar598 <>
Co-authored-by: spookydonut <github@spooksoftware.com>
2020-05-02 00:43:42 -04:00
SomeguyManperson
6f1a9edda0 icebox fix for nukeops 2020-04-12 17:20:57 -04:00
Theos
03250b5b2c Port ice moon from tg (#7919)
* steal ice moon and some other assorted qol stuff

* shoe fix

* small fixes

* that is not what that is supposed t obe

* working on station ruins

* theos gives up

* fuck

* missed one

* removing airless tiles

* Wolf sinew

* fixes for map stuff
2020-03-08 03:04:06 -04:00
monster860
be79048c69 Cycling Airlocks (#7874)
* Cycling Airlocks

* Fix the scan button

* Makes it use process_atmos instead of process and allow cancelling cycles

* Fixes an airlock being not hooked up

* wtf dm why you crashing

* Adds a cool-ass hologram

* fix skipping
2020-03-02 01:01:15 -05:00
Katie
1de6fe4b7d in transit towards (#7492) 2020-01-03 21:53:14 -05:00
monster860
61ac3dc3b8 Replays 2019-11-13 00:19:57 -05:00
Theos
b2ee236a5c Xeno queen can now disable their hostile environment (#7012)
* beno

* benos

* w

* im retard
2019-11-05 06:01:11 -05:00
AsV9
4a4ede2a4b Fixes the emergency pod space suits unlocking at round start 2019-09-24 20:55:49 +02:00
alexkar598
fe934644ac Actually commits the line ending changes 2019-08-12 07:47:43 -04:00
Nich
e44cac662e xeno winconditions 2019-07-26 06:15:18 +02:00
oranges
56e5dbb7b1 Add return type annotations to some procs, other lint fixes 2019-07-21 22:16:04 +02:00
yogstation13-bot
d1e32a3df9 Removes shuttle manipulator 2019-06-23 20:22:06 +01:00
yogstation13-bot
2fd6a6dc2c Makes stationary docks greedy for an area_type 2019-06-19 20:46:56 +01:00
yogstation13-bot
8f6c8e9870 Makes setting stationary dock area_type no longer required 2019-06-14 20:20:51 +01:00
fluffe9911
bcb1b35300 ok 2019-06-11 22:35:52 -04:00
Joe Schmoe
0981cc3207 [Ready] Cargo Catalog small-order support, new single-pack orders, addition of Ripley 2019-06-11 21:14:26 +02:00
yogstation13-bot
a7d6edc279 [MIRROR] [s] Fixes centcom travel exploit, part 321432 (#5789) 2019-06-10 12:51:11 -04:00
Gary Lafortune
108ffdd4d2 REGEX REPLACE! /([\w\.]+)\.add_trait\(/ -> /ADD_TRAIT(\1, / 2019-06-01 20:52:22 -05:00
yogstation13-bot
9da831bce4 [READY] Better shuttle sound algorithm 2019-05-27 11:20:55 +01:00
yogstation13-bot
c87e1bd113 [MIRROR] Fixes wabbajack altar becoming too inert (#5404)
* Fixes wabbajack altar becoming too inert (#44002)
2019-05-19 14:48:33 -05:00
yogstation13-bot
25a1dad23e [MIRROR] Adds toggleable darkmode to the game! (#4857)
* Adds toggleable darkmode to the game! (#43072)
2019-04-08 02:13:33 -05:00
ShizCalev
01487dfd65 Merge pull request #43187 from AutomaticFrenzy/patch/random-docking-port
Improve the error behavior of random docking ports
2019-03-20 23:09:58 +01:00
spookydonut
5a33e28f35 Adds two shuttle states more functionality (#43005)
* Adds two shuttle states more functionality

* typo

* changes as requested to the pirate shuttle
2019-03-14 12:39:41 +01:00
Tad Hardesty
764e25c40b Make shuttle getStatusText more useful 2019-03-14 12:39:34 +01:00
Erik
6cc7012e86 You can no longer open podsafes in blue/green with alt click. (#42571) 2019-01-30 07:33:50 +01:00
monster860
e31b9ffc76 Wish it told me what shuttle it was 2019-01-26 19:35:25 -05:00
coiax
66df5546ee Refactors NODROP flag into TRAIT_NODROP (#42109)
* Refactors NODROP flag into TRAIT_NODROP

🆑 coiax
fix: Anti-drop implants can no longer be used to drop objects that they
were not responsible for sticking to a person's hand.
fix: Backfiring with a Barnyard spellbook will now play a spooky horse sound.
refactor: Refactors the way that "NODROP" items work to a new system,
there should be no change in functionality.
/🆑

Various items in the codebase were doing weird hoop jumps in order to
preserve the nodrop flag's state when it also wanted to change it, so I
moved it to a trait system.

I may have gone overboard with the type of unique trait sources, but
those can be changed later. My long term plan is make a general "CURSED"
nodrop origin, which means you can unlock cursed items by being hit with
a bolt of door opening or something. But that's for another PR, this has
no functionality changes, apart from some slightly modified descriptions
on cursed masks.

- Removed a bunch of redundant voice changing code for all the voice
changing animal masks, used two new clothing flags for this purpose.
- Also refactored a bit the animal masks, making new cursed subtypes that play
the sound when created.

* Drop location
2019-01-17 21:22:38 +01:00
monster860
6a6cb192cf Fixes bluespace locker exploit involving cargo shuttle 2019-01-09 21:08:26 -05:00
subject217
dbc5e435a3 [READY] Robustin's Syndicate Infiltrator PR except with the requested changes (#42034)
* Hardened Syndie Shuttle

* Fixes

* Fuck borgs

* Review

* Syndie turrets are now set to lethal by default

* here's hoping

makes the required changes this time with TGM(?)

* dv cleanup 1

* Cleans up two non-replaced plastitanium walls.

Nobody opens commit descriptions. Except the cutie reading this.

* Cleans up the turf I know I changed but somehow didn't in the final version.
2019-01-02 03:13:20 +01:00
coiax
26b584603d Non-emagged shuttles no longer throw atoms around (#41999)
- Normal shuttles that are not emagged will no longer throw things around.
  People will still be knocked down.
- Emagged shuttles and poorly designed shuttles will also throw things
  around on tables, as well as closets.

Shuttles were not mapped with the idea that their contents would be thrown
around violently every time they moved. This means that things like wheely
chairs, potted plants get chucked about the place. To get around this, the
"magnetic_catch" component was added, to partially bypass this effect in the
first place. But this component is only used in one place, in shuttle loading,
which means if a shuttle is custom built, suddenly and unexpectedly,
everything flies everywhere.

Instead, violent shuttle throwing should be limited to crappy shuttles,
(ie. asteroid with engines) and emagged shuttles. As such, I've removed
the magnetic component from tables and racks, to make shuttle throwing
more violent when it happens.
2018-12-27 20:49:22 +01:00
Jordie
ab2d53a189 Merge pull request #41918 from kevinz000/patch-581
Shuttles no longer throw things like ghosts with infinite movement resist
2018-12-14 02:44:17 +01:00
nichlas0010
2a713fe606 Merge pull request #3821 from yogstation13/upstream-merge-40428
[MIRROR] [READY]MultiZ stuff - tile atmos, movement backend, falling backend, etc etc - Electric boogaloo
2018-12-11 18:49:37 +01:00
Ling
0e80199e34 Update arrivals.dm 2018-12-11 16:30:12 +01:00
kevinz000
d1411a8eee [READY]MultiZ stuff - tile atmos, movement backend, falling backend, etc etc - Electric boogaloo (#40428)
Basic multiZ mob movement procs (Observers can always move)
Open space, showing what things are below it, and everything that entails. No complex support for dynamic generation just yet.
Decide how openspace should look :/

    Atoms falling through open space (NO MOB SUPPORT/DAMAGE/ANYTHING YET.)

//CANCELLED FOR ANOTHER PR - [ ] Being able to see upwards? Downwards is going to be handled by open space.

MultiZ tile atmospherics - EDIT: Working demo! https://puu.sh/B7mUs/3f6274740f.mp4
Bugtest the heck out of this trainwreck.
2018-12-11 10:09:09 +01:00
Thomas
d83eb18389 fixes dectected in arrival message 2018-12-10 12:12:25 -05:00
Dennok
7e429fe139 fix placing custom dock in transit. (#41475)
fix placing custom dock in transit.
2018-11-29 13:55:46 +01:00
variableundefined
0e348d51f9 Add cancel button to assault pod destination selector (#41524) 2018-11-16 14:25:28 +01:00