Commit Graph

121 Commits

Author SHA1 Message Date
tattax
7cc7105157 damage flags are now defined from tg (#14050)
* 1st

* s

* d

Co-authored-by: Theos <theubernyan@gmail.com>
2022-05-16 20:14:12 +01:00
TheGamerdk
ac38a26ac5 Update computer.dm (#13659) 2022-04-10 14:20:45 +01:00
nmajask
d385793e1a Gives captain a phone and adds a sensor package to the CE's phone (#13450)
* Gives cap a phone and adds a sensor package to the CE's phone

Self explanatory

* Actually gives the cap a phone

Oops, forgot this

* Copy pasting fails me again
2022-03-19 13:48:05 +00:00
nmajask
c06ce396e7 Fixes some modular computer stuff (#13365)
* Fixes some modular computer stuff

- Laptops now have the correct icons when opened
- You can no longer use programs when the computer lid is shut (RIP laptops being used ever)
- Fixes roundstart runtimes caused by updating icons when the physical is null
- Adds an interact sound to a few buttons I missed

* Missed these

Oops
2022-03-07 11:35:32 +00:00
nmajask
304ae24736 Computer noises (#13117)
* Wow this branch is old

Adds the sound files so I can update this thing.

* Why GitHub desktop

*scream

* Adds the functionality

Adds interaction sounds to mod pcs

* tablet noises

"Adds PDA clicking sounds" by comma on Baystation

* Fixes the checks

Forgot I changed that

* Fixed the abrupt cutoff

I just made it fade out

* Update code/modules/modular_computers/file_system/programs/borg_monitor.dm

* Integrated PC stuff

Should fix it

* Oops

Ack

* Coding

Cant code to save my life

* Telescreen beeping

Some refinements and telescreen beeping

Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
2022-02-10 18:51:18 +00:00
nmajask
7c36356963 Added the fixes (#13220)
Guess I was right, I should have tested that change
2022-02-03 10:23:22 -05:00
nmajask
f216b2c4f6 Ports "Adds borg tablets, and RoboTact as a borg self-management app" (#12781)
* Ports borg tablets and Robotact

A very rough port of the two from TG with some code "barrowed" from SandPoot from cit to work around the lighting changes on TG

* Ports dentation button, rearranges the UI, and adds a change I forgot

Should all work

* Should fix the checks

Tgui being stingy

* Expanded Robotact and ports stuff

Adds a button to view alerts, self destruct, adjust light, and take picture to Robotact, ports downloading logs with the Borg Monitor, and allows borgs to use the NTOS downloader.

* Update asset_list_items.dm

* Adds buttons for lamp intensity

The slider is a bit jank, so I added some buttons for those who dont want to deal with it.

* Forgot you can do this

Should fix the checks

* *scream

Why is the linter so strict?

* Tails.dm but again

This is so much fun

* Reorganizes stuff and adds an integrated hardware flag

Reorganizes stuff to fit mod PDA/telescreen's new organization (dedicated files for each device) and added a hardware flag to better determine what can be used in the borg PC, fixing adam's issue.

* Should revert some of the removed buttons/commands

No reason to remove them

* Fixes the check

Forgot about this

* This is probably important

I should really test this

Co-authored-by: Theos <theubernyan@gmail.com>
2022-02-02 18:27:05 +00:00
nmajask
2d7dd405a9 Adds modular computer renaming with ID information and opening with ctrl clicking from PDAs (#12799)
* Added the changes

Adds name changes pcs and ctrl click opening from PDAs to mod

* This is probably important

Thanks adamsong

* Tails.dm continues to baffle github desktop

I am incapable of changing/fetch branches without commiting this.

* Makes ctrl click opening only effect humans

Makes ctrl click opening mod pcs only effect humans so borgs can still drag them
2022-01-26 19:13:09 +00:00
nmajask
c49bd18e18 Adds new crates for modular computers (#13141)
Adds five (5) new crates that store modular computers
2022-01-26 19:00:53 +00:00
nmajask
407122e347 Adds modular PDA and Telescreen and cleans up some of the preset code (#12685)
* Added modular PDA and telescreen

They kinda work

* Adds a telescreen to box

* Cleans up some stuff

Left some code in from when I was working on something else, causing the checks to fail. This removes it.

* More clean up and an untested fix for computers so they dont runtime if they have an initial program

Hope this works.

* Hopefully fixes the failed check

Forgot about that var.

* Makes telescreens machines and more PDA sprites

Makes modular telescreens machines, adds more pda program icons, and fixes stuff.

* Adds telescreens to more maps and fixes the one on box

* Fixes the failed check and cleans up some commented out stuff

Forgot about this stuff

* Replaces engi and atmos tech phones with modular PDAs

Seams reasonable. May atomize it out if people want me to.

* Forgot the commit the atmos preset

*sigh

* Moves telescreens to the machine folder and adds a medical telescreen

Moves telescreens to the machine mod pc folder because they are no longer items and adds a medical telescreen that starts with the crew monitor program, though its not on maps yet.

* Removed the old telescreen file that didnt get removed

thanks github desktop

* Forgot about the CMO's computer

Though I did this with the medical preset

* Adds medical telescreens to most maps

* Readds the changes

* Forgot to uncomment this

*scream

* Adds telescreens to mining base and brig infirmary

* Everyone gets a telescreen

* Forgot the lights

* Symmetry

* Adds the fixes for delta
2021-12-27 17:24:30 -05:00
TheGamerdk
a2cf4cd029 Update console_presets.dm (#12930) 2021-12-19 15:10:37 +00:00
nmajask
5734b61013 Adds the overlay changes (#12843)
Makes program overlays glow in the dark, unifies overlay code, and adds a system for adding program overlay skins
2021-12-11 16:24:26 +00:00
nmajask
4b35790854 potentialy fixes console components (#12672)
*scream
2021-11-16 10:49:27 -05:00
nmajask
cbf8aca939 Should fix head modular consoles missing some programs (#12666)
* *scream

why cant I code

* Why did this not exist originally

*scream
2021-11-15 03:43:17 -05:00
nmajask
702d1ef2b0 Replaces some consoles with modular computer consoles (#12588)
* Added more presets

Added more mod console presets for sec, tcomms, cargo, qm, mining, HoP, HoS, CE, RD, and CMO

* Adds the consoles presets to the maps

* Few tweaks

Forgot to change what the tcomms preset had

* Tweaked kilo robotics

* Made a few more tweaks to kilo

* Re-added the outpost cameras instead of the mining preset
2021-11-14 17:57:28 +00:00
nmajask
a0b6b72b3c Ports some changes to modular computers from TG (#12482)
* Ports stuff

Ports a lot of stuff from TG, some of it might even work!

* Should fix the failed check

Should fix the failed check

* Allows phones to use the ID card program and aux card slot

Allows phones to use one of the two useful programs

* Changes preset stuff

Removes the old syndicate tablet preset with the nukie one and adds command and atmos phone presets. Replaces all head tablets with phones and fixes atmos techs starting with tablets.

* Fixes secureye icon and comms agents not being able to download apps

Does as it says

* Fixes the build error

cant code

Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
2021-11-14 17:45:51 +00:00
nmajask
4095b2c564 Tweaked the debug outfit (#12460)
Did some stuff
2021-10-22 17:15:40 -04:00
nmajask
91897c9124 Adds modular phones (#12386)
* Added modular phones

Added modular phones. Why? I don't know.

* These might be important

Changed the dme and defines, which i forgot to add

* Fixes the checks failing

Hopefully
2021-10-15 10:08:26 -04:00
adamsong
3baeaeb0c4 Steals tg's span macros (#12232)
* Steals tg's span macros

* Fix alphabet

* Updated some more spans

* Misses a conflict

* Fix compile errors

* Converts more spans

* oops
2021-09-17 12:50:16 +01:00
Lostlarry
cabf7d43b7 Ports? Shift computers to hug walls (#11877)
* makes computer and consoles hid the walls

* fixing shit

* better comments

* another fix

* make it work for windows
2021-07-31 15:20:26 -04:00
TheGamerdk
e7b6ca6083 Adds Public Art consoles to all libraries (#11699)
* art

* Update KiloStation.dmm

* Kilo
2021-07-28 19:25:43 +02:00
Lostlarry
74a720c688 You can no longer see ui of programs on closed laptops (#11795)
* this should fix a bug when program ui is open and the computer closes

* standardise it a bit

* i am stupid once again
2021-07-18 15:17:02 +01:00
TheGamerdk
a0362cb3d1 Ports AI Portrait Picker + Curator Portrait Picker [PORT] [BOUNTY] (#11508)
* Gives curators a console for printing portraits not in the round onto canvases (#59146)

* commit

* AIs can now select portraits as their display (#53994)

A new option has been added to the AI display radial menu alongside random, "Portrait"

It opens a small menu that lets you peruse all of the portraits and select one as your display.

This can let avid artists draw exactly what they want their AI to be like, and not-so-avid artists to bring tears to my eyes.

* cummit

* e

* boom

* map merge + icon

* Update YogStation.dmm

* oops

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-06-13 11:22:06 +01:00
Redmoogle
c29f8232ab Gets rid of some runtimes (#10559)
* bad

* Runtime Fixes

* bibbycode blame him if it breaks

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>

* Github sucks

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
2020-12-01 19:43:03 +00:00
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
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
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
Jumps
66ebfe7bc5 Minor fixes from TG (#8336)
* initial

* turdis wake up
2020-04-30 16:14:51 -05:00
Nichlas Pihl
70f889cf7d Ports tgui-next (#7137)
* https://github.com/tgstation/tgstation/pull/46764

* tgui is shit

* next PR should be low-level stuff, to remove shim-console.js properly

* https://github.com/tgstation/tgstation/pull/47123

* mint scrapped

* lots of PRs

* more PRs finished

* lol at tg

* it just works

* well, now it works

* lol

* travis maybe?

* Update build_tgui.sh

* copies the tgui folder as well

* fixes tgui permissions

* removes mint properly

* lol

* more stuff

* lol

* fuck

* kiosk stuff apparently

* uplink

* turbine

* more stuffs

* removes plumbing

* lol

* Update machine_circuitboards.dm

* lol

* removes medical kiosk

* chem macros get out ree

* couple of extra PRs

* forgot the import

* nuke UI

* micro arcade

* last few PRs

* https://github.com/tgstation/tgstation/pull/47990

* forgot the .dm file
2019-11-28 23:15:34 +01:00
vuonojenmustaturska
0c73eff422 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-07-16 03:20:17 +02:00
yogstation13-bot
6f42d325c5 [READY] Syndicate Contracts 2019-06-17 19:31:37 +01:00
Joe Schmoe
b693cbd19d Adds some missing adjacency checks 2019-06-08 19:10:34 +02:00
Nirnael
483ba6a2f6 Fix modular processor runtime (#42736) 2019-02-11 21:02:50 +01:00
skoglol
53ad457213 Stops both modcomputer and processor from being examined by inquisitive ghosts. (#41257) 2018-11-01 22:58:44 +01:00
ShizCalev
f0c52879f2 Makes modular computer examine text more robust (#40729) 2018-10-08 09:37:48 +01:00
ShizCalev
5a29dc43e3 Replaces istypes with the proper tool_behaviour checks. (#40414) 2018-10-01 01:10:45 +01:00
ShizCalev
0527776daa [s] Fixes pride mirror exploit (#40477)
* Fixes pride mirror exploit

* Cleanup, adds no_tk check to canUseTopic
2018-09-26 10:33:35 +01:00
ShizCalev
ffefab25f4 Clean up mixed space & tab usage (#40121) 2018-09-07 11:40:31 +01:00
Tad Hardesty
7df8fd101a Add a warning for bad design icons, fix existing instances (#38840)
* Add a warning for bad design icons, fix existing instances

* Use non-line-numbered warning
2018-07-02 21:19:33 +01:00
Jordan Brown
f9e709c18c Merge pull request #38116 from AutomaticFrenzy/patch/anchored
Refactor machinery to default to being anchored
2018-06-01 17:28:09 +01:00
vuonojenmustaturska
ddd4409133 Adds an EMP protection component, allowing ANYTHING to be protected from EMP (#37671)
The component is initialized with any combination of three flags, EMP_PROTECT_SELF protects against effects that target the object itself, EMP_PROTECT_WIRES protects against wires being messed with similar to the NO_EMP_WIRES_1 flag which this PR removes, EMP_PROTECT_CONTENTS protects against things that are inside the object like organs, internal "non-virtual" power cells and the like

This enables (but doesn't introduce) new mechanics such as adding EMP shielding at runtime to any atom, or taking it away.
2018-05-22 21:35:29 +01:00
vuonojenmustaturska
ac053bd9a2 Kills off three more flags from flags_2 (#37529)
code: More flags have been moved to their appropriate places
SLOWS_WHILE_IN_HAND
FROZEN
NO_MAT_REDEMPTION

all moved to item_flags
2018-04-29 23:33:52 +01:00
oranges
feca7a7b38 Uppercases slot defines. 2018-04-28 09:49:08 +01:00
81Denton
f44d4852af fixes obj descs and adds new ones (#37483) 2018-04-27 19:22:05 +01:00
Fox McCloud
d42a67da02 Kills off /obj/item/device (#37297)
* Kills off /obj/item/device

* whoops

* whoops

* Fix
2018-04-23 14:01:33 +01:00
vuonojenmustaturska
7ab4be2ded Merge pull request #36743 from ShizCalev/modular-comp-ui_interact-runtime
Fixes modular computer ui_interact runtime
2018-03-28 13:53:08 +01:00
AsV9
d338cac150 Merge remote-tracking branch 'tgstation/master'
Not sure if this worked. Used a wonky special snowflake strat to merge.
2018-03-24 08:57:13 +01:00
kevinz000
8ebc63d2f2 Randomized Station Time + Night Shifts 2018-02-20 21:59:44 -08:00