Commit Graph

68 Commits

Author SHA1 Message Date
Ashe Higgs
5c8d845f56 [s] Improves and secures trait assignment code, allows their pref to be changed midround, tweaks RDS and Night Vision (#36160)
* Traits but less buggy

* no tick while dead

* fix security vuln
2018-03-06 15:57:42 +02:00
kevinz000
4cf3c7cd2c Adjusts fire priorities of flightpacks, research, networks, and fields. (#36129)
* Fire priorities

* research lower not higher

* Don't need to keep timing if it's automatically compensating for missed ticks.

* Spelling

* spelling
2018-03-05 00:25:03 -05:00
Ashe Higgs
ab9e2e8902 Adds minor roundstart traits! (ala CDDA, etc.) (#35440)
* Roundstart traits

* Unspaghettifies night vision

* Fuck everything

* Issues patch
2018-03-02 13:39:44 +13:00
ninjanomnom
53ffc71655 make fire priority values defines 2018-01-17 02:57:14 -05:00
Kyle Spier-Swenson
fa136e71f4 Revert "Merge pull request #33537 from ninjanomnom/priority-defines" (#34528)
This reverts commit 0244b61886, reversing
changes made to 5d07df08ea.
2018-01-16 20:04:35 -05:00
kevinz000
5eb00b393f Removes KEEP TIMING from projectile subsystem
Not needed.
2018-01-14 11:38:29 -08:00
ninjanomnom
a65248928b defines all subsystem priority values 2017-12-15 15:16:31 -05:00
JStheguy
ff87753167 Adds Additional Electronic_Assembly Designs (#33466)
* bloats electronic_setups.dmi

* new assembly naming scheme, redone legacy sprites
2017-12-13 22:09:55 -05:00
kevinz000
00966e2aaa NTnet refactor, assimilates exonet 2017-11-21 20:50:45 -08:00
ACCount
b161b18599 Integrated circuit fixes and code improvements (#32773)
* Fucking conflicts

* Small code changes

* Makes the IC printer start upgraded to offset balance concerns caused by a fixed bug
2017-11-21 10:04:09 +01:00
arsserpentarium
bdfbafd54a [READY]integrated circuitry port+upgrade. (#32481)
* first

* printer, tools, prefab, assemblies, power.dm(looks like so)

* integrated circuit

* input memory epv2 exonet node

* input,manipulation,output,poweract

* fixes

* reagents fix

* time

* minor fixes

* all errors fixed

* bugfixes

* prefab, tickers, camera, led, assembling bugs,

* All except exonet node UI and led's

* cameras, led and some exonet

* 11

* 111

* lesser fixes.

* botanic shit

* icon

* nobludgeon for debugger

* gui, typos

* gui, typos

* dopil

* smaller diff, rm template and node

* mergefix

* list fix

* weakrefs

* fixes

* Clamp, crowbar, minor shit

* fukken refs

* exonet node refactor, put defines into defines.

* dme upload

* defines,helpers,exonet node, botanic

* TRUE/FALSE and minors

* datumfix

* moved init to ss

* quickfix

* cryo runtime fix

* datums quickfix

* admins

* minor fixes

* fixes

* refs,tools

* printer

* fixes

* fixes

* check interactivity redo.

* usercheck, fixes

* weakrefs

* T/F

* WEAKREF

* unfuckup

* fixes and shit

* Update assemblies.dm

* crypto

* fuck

* SS, final fixes

* looks like final fixes.

* release,crypto, ranged scnner

* defines

* Resets some files

* find/replace

* Associative addresses

* Update exonet_node.dm

* push

* there we go

* fix

* FINISH!

* WEAKREFUCK

* FixeS

* Woops

* Woops

* woops

* fix

* fixes

* loops

* fix or break?

* fix,dammit!

* fix,dammit![2]

* fix,dammit![3]

* disconnect

* fix

* input

* lag

* pin

* map

* sdegsds

* >>>lights

* fixes le map

* makes circuits actually speak

* halffix

* resets maps to tgstation master

* typeless loops in init

* Changes subsystem to not initialize new types and use initial instead.

* fix

* trying to get rid of obj list.

* get rid of .

* Better code makes better mind

* fixed

* pin fixes

* fix

* compiled tgui

* circuits config

* spelling
2017-11-14 04:05:22 -05:00
Kyle Spier-Swenson
d7b537ce24 SSoverlay improvements and tweaks (#32371)
* Overlay per-type cost logging.

Overlays will now log how long each type took to process.

Changed up how overlays was done to account for the fact its a queue and not a processor. (it was using almost none of the processing subsystem framework)

Made the overlay loop faster by making it not cut the list until the end.

Added a simple generic benchmark stat tracking system.

I don't know how much overhead this adds to overlays. i may put it behind testing or something, but i do want to test this on the serbers to get some stats.

* Removes flush() as it was creating race conditions

* Use ref

* text2file

* Atoms added as an overlay will have their pending overlays compiled before being converted to an appearance
2017-11-10 20:25:29 +01:00
YPOQ
244c67895c build_appearance_list no longer edits the list it is passed (#32066)
* build_appearance_list no longer edits the list it is passed

* Mistakes were made

* Update overlays.dm
2017-10-27 18:34:09 -04:00
Cyberboss
c6a8e30f47 Add missing '\' 2017-10-21 19:43:27 -04:00
Cyberboss
3f73a99cf1 Optimizes COMPILE_OVERLAYS 2017-10-21 19:26:48 -04:00
Cyberboss
b2a984fd8a Inlines compile_overlays 2017-10-21 19:23:26 -04:00
kevinz000
64851d819a Moves projectile processing to a subsystem (#30599)
ITT worst coder tries not to break everything and improve the code.
fixes #29211
🆑
refactor: Legacy projectiles have been removed. Instead, all projectiles are now PIXEL PROJECTILES!
rscadd: Reflectors can now be at any angle you want. Alt click them to set angle!
/🆑

Also lets just
fixes #18133
because the shortest path from point A to B is a straight line, when projectile ranges are "number of times moved/processed" ofcourse it's going to be shorter if you fire diagonally. It will be a problem as long as range is done like that or if range are in "pixels/tiles" moved without outright using get_dist.
2017-10-16 15:50:42 +13:00
Ian Turk
7460f2c5b8 Replaced flags with flags_1 2017-08-16 13:01:15 -06:00
Ashe Higgs
2438bd2aa8 Small belt overlay rewrite, and tool overlays for toolbelts (#29180)
* Belt overlay tweaks, tool overlays

* Belt overlays now have their own file

* work on porting to the new screwy looks

* Work on screwdrivers

* Fixes screwdrivers

* really SCREWED that one up!
2017-07-19 15:29:35 +01:00
ShizCalev
59ef81245b Changes some 1s and 0s to TRUE and FALSE (#29144) 2017-07-10 10:31:34 -04:00
Jordan Brown
3388e735e6 Speeds up SSoverlays (#29037) 2017-07-06 20:20:44 -04:00
Jordan Brown
5b66f2f1b2 Speeds up SSoverlays (#28933) 2017-07-01 15:55:11 -03:00
Jordan Brown
76cea85641 Adds /image/proc/copy_overlays (#28233) 2017-06-09 22:10:52 -03:00
Jordan Brown
c03b0e5f19 Makes processing subsystems respect qdel and PROCESS_KILL (#28146) 2017-06-07 16:16:51 -03:00
Cyberboss
528477465c Fixes @kevinz000's shitcode 2017-05-22 10:42:24 -04:00
Cyberboss
1c6bd654b7 Make runlevels bitflags 2017-05-11 10:04:19 -04:00
Cyberboss
a0a27219b6 MC Runlevels 2017-05-10 16:05:37 -04:00
MrPerson
ff3f84ab81 Replaces /image with /mutable_appearance, where appropriate (#26518)
In cases where you're creating an image to use as an overlay, it makes more sense to use a mutable_appearance if you can. The image will create a static appearance for not just the image but also each intermediate step if you change vars along the way. The mutable appearance avoids this unnecessary and expensive process. The only situation that requires an image instead of a mutable_appearance is if the overlay is supposed to be directional. MA's ignore direction while images don't. I dunno why, probably another BYOND-ism.

I added a convenience function, mutable_appearance(), designed to emulate image(). Also went ahead and set the default plane of /mutable_appearance to FLOAT_PLANE because it's fucking 0 by default.

Several overlays that were image() calls were changed to just text strings when I could. overlays += "string" has the same result as overlays += image(icon, "string") and saves a proc call.
2017-04-25 12:15:16 +02:00
Jack Edge
a76d4374c1 Moves init_order to defines, moves SSevents above ticker. 2017-04-22 22:08:31 +01:00
Cyberboss
9e1ef0ffe2 Global variable wrappers (#25325)
* Add the system for managed global variables

* Travis ban old globals

* So you CAN inline proccall, that's neat

* Fix that

* master.dm

* Remove the hack procs

* Move InitGlobals to the proper spot

* configuration.dm

* Fix the missing pre-slash

* clockcult.dm

* This is probably for the best

* Doy

* Fix shit

* Rest of the DEFINES tree

* Fix

* Use global. for access

* Update find_references_in_globals

Always hated that proc

Whoever made it must've bee a r e a l idiot...

* __HELPERS tree

* Move global initialization to master.

Fix the declaration

* database.dm

* Dat newline

* I said DECLARATIVE order!

* Here's something you can chew on @Iamgoofball

* game_modes.dm

* Fix this

* genetics.dm

* flavor_misc.dm

* More stuff

* Do it mso's way. Keep the controllers as global

* Make master actually see it

* Fix

* Finish _globalvars/lists

* Finish the rest of the _globalvars tree

* This is weird

* Migrate the controllers

* SLOTH -> GLOB

* Lighting globals

* round_start_time -> ticker

* PAI card list -> pai SS

* record_id_num -> static

* Diseases list -> SSdisease

* More disease globals to the SS

* More disease stuff

* Emote list

* Better and better

* Bluh

* So much stuff

* Ahh

* Wires

* dview

* station_areas

* Teleportlocs

* blood_splatter_icons

* Stuff and such

* More stuff

* RAD IO

* More stuff and such

* Blob shit

* Changeling stuff

* Add "Balance" to changelogs

* Balance for changelog compiler + Auto Tagging

* Update the PR template

* hivemind_bank

* Bip

* sacrificed

* Good shit

* Better define

* More cult shit

* Devil shit

* Gang shit

* > borers

Fix shit

* Rename the define

* Nuke

* Objectives

* Sandbox

* Multiverse sword

* Announce systems

* Stuff and such

* TC con

* Airlock

* doppllllerrrrrr

* holopads

* Shut up byond you inconsistent fuck

* Sneaky fuck

* Burp

* Bip

* Fixnshit

* Port without regard

* askdlfjs;

* asdfjasoidojfi

* Protected globals and more

* SO MANY

* ajsimkvahsaoisd

* akfdsiaopwimfeoiwafaw

* gsdfigjosidjfgiosdg

* AHHHHHHHHHHHHHHHHHHHHHHH!!!!!

* facerolll

* ASDFASDFASDF

* Removes the unused parts of dmm_suite

* WIP

* Fix quote

* asdfjauwfnkjs

* afwlunhskjfda

* asfjlaiwuefhaf

* SO CLOSE

* wwwweeeeeewwwww

* agdgmoewranwg

* HOLY MOTHER OF FUCK AND THATS JUST HALF THE JOB?!?

* Fix syntax errors

* 100 errors

* Another 100

* So many...

* Ugh

* More shit

* kilme

* Stuuuuuufffff

* ajrgmrlshio;djfa;sdkl

* jkbhkhjbmjvjmh

* soi soi soi

* butt

* TODAY WE LEARNED THAT GLOBAL AND STATIC ARE THE EXACT SAME FUCKING THING

* lllllllllllllllllllllllllllllllllllllllllll

* afsdijfiawhnflnjhnwsdfs

* yugykihlugk,kj

* time to go

* STUFFF!!!

* AAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!

* ngoaijdjlfkamsdlkf

* Break time

* aufjsdklfalsjfi

* CONTROL KAY AND PRAY

* IT COMPILEELEELELAKLJFKLDAFJLKFDJLADKJHFLJKAJGAHIEJALDFJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

* Goteem

* Fix testing mode

* This does not belong in this PR

* Convert it to a controller

* Eh, fuck this option

* Revert controllerization Ill do it some other time

* Fix

* Working controllerization

* FOR THE LOVE OF CHRIST PROTECT THE LOGS

* Protect admins and deadmins

* Use the inbuilt proc
2017-04-06 23:26:13 -06:00
Cyberboss
78ee754da3 Merge upstream 2017-04-01 23:38:37 -04:00
Remie Richards
d1b2be75ad Fixes #24998 (Statues spawned by wizards are invisible) - Correctly (#25638)
* Fixes #24998 Correctly

* Fixes potential addition to non initialised overlays list
2017-03-31 09:33:44 -03:00
Cyberboss
5646c736c8 Merge upstream 2017-03-30 19:18:59 -04:00
kevinz000
d17aacc8cd Allows soft-disabling of flightsuit processing, moves subsystem defines to subsystems.dm (#25513) 2017-03-30 09:07:49 -03:00
Cyberboss
fb596bcdb3 _DEF 2017-03-22 14:52:21 -04:00
Cyberboss
a801187ede Fix shit 2017-03-22 12:11:59 -04:00
Cyberboss
7e14ec75fc Normalizes subsystem definitions 2017-03-22 11:50:46 -04:00
Cyberboss
5907da67ee Rename files where appropriate 2017-03-22 11:33:12 -04:00
MrPerson
b71e89ce10 Fixes non-dynamically lit areas being pitch black
Fixes #25179 (Legitimate closing of a pull request, thanks for this bug github)
Fixes #25164
2017-03-16 21:30:06 -07:00
Cyberboss
ea740fd160 Fixes problems with icon overlays (#24530)
* Fixes problems with icon overlays

* Rename this to prevent confusion

* Well somehow that fixed it
2017-03-14 19:28:05 +01:00
Cyberboss
bbf6eebae0 Fix coiaxs shit (#24902) 2017-03-10 10:17:21 +13:00
oranges
56a7fa328a Revert "Revert "Atoms can now be stationloving" (#24903)" (#24904)
This reverts commit d3b5f0e97c.
2017-03-10 09:54:44 +13:00
Kyle Spier-Swenson
d3b5f0e97c Revert "Atoms can now be stationloving" (#24903)
* Revert "Bulletproof(Tactical) Armour + Vest Defence Tweak (#24816)"

This reverts commit 6ab7ba871f.

* Revert "Automatic changelog generation for PR #24810 [ci skip]"

This reverts commit 1cd117afd6.

* Revert "Stacks automatically merge on Initialize (#24810)"

This reverts commit 6e39f5cf00.

* Revert "Automatic changelog generation for PR #24794 [ci skip]"

This reverts commit 62a2ef30dd.

* Revert "Wizards can now Summon Ghosts (#24794)"

This reverts commit 473561c0be.

* Revert "Automatic changelog generation for PR #24791 [ci skip]"

This reverts commit b2aeef06d0.

* Revert "Compiles in Lavaland (#24791)"

This reverts commit 272cc34008.

* Revert "Forcefield Projector (#24790)"

This reverts commit 4b2ffcffe8.

* Revert "Atoms can now be stationloving (#24748)"

This reverts commit 60f7c1df3f.
2017-03-10 09:53:16 +13:00
coiax
60f7c1df3f Atoms can now be stationloving (#24748)
* Objects can now be stationloving

Stationloving objects are objects that love the station so much, they
will relocate back to the station if spaced or if destroyed.

Yes, this does sound a lot like the behaviour of the nuke disk. Except
made more generic.

Currently the only stationloving object is the nuke disk.

* Moved from /obj to /atom/movable

* Remie fix
2017-03-10 09:42:02 +13:00
Cyberboss
31ee152489 Repaths subsystem to controller/subsystem (#24624)
* Repaths subsystem to controller/subsystem

* Fix the shit
2017-03-08 22:05:45 +01:00
Cyberboss
e03144dc1d Smoother roundstart take II (#24504)
* Revert "Until I figure out why random keys aren't being transferred"

* Fixes cyborgs not getting their key at roundstart

* Fixes mimes not getting the prefs name

* Fixes clowns not getting prefs names

* Sets the round start timer when it actually starts

* Remove fluff CHECK_TICKs

* Moves siliconization to the jobs module

* Yeah whatever

* Fixes AIization

* HNNNNGHHHH WHY IS THIS UP HERE?

* Fix cyborgs not linking to AI
2017-03-07 21:06:33 +01:00
Cyberboss
78c4c6674e INITIALIZATION_INSSOBJ -> INITIALIZATION_INSSATOMS (#24382) 2017-02-27 15:56:09 +01:00
Cyberboss
4aefd57cca Revert "Overlay/Roundstart fixpack (#24356)"
This reverts commit bf42d769e2.
2017-02-22 20:43:08 -05:00
Cyberboss
bf42d769e2 Overlay/Roundstart fixpack (#24356)
* Fixes roundstart graphical lag

* Fixes manifests

* >Expecting searching lists to be fast

* Here's where they needed flushing

* THE DATACORE IS ANNOYING REEE

* <Commit name>
2017-02-23 09:41:58 +13:00
Cyberboss
85b8485313 NobodyReviewsNobodyReviewsNobodyReviews (#24360)
NobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviewsNobodyReviews
2017-02-22 20:18:15 +01:00