Commit Graph

377 Commits

Author SHA1 Message Date
oranges 9f1cec7b15 Merge pull request #45677 from 81Denton/logs
Logging improvements
2019-08-04 22:54:17 +12: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
Denton 75d8176782 Logging improvements 2019-08-02 18:49:04 +02:00
Dennok 97328e9ab3 RCD update (#45357)
Add simple circuits to rcd
2019-07-27 02:11:23 -07: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
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
Tad Hardesty 570a4da33e Replace 'throw EXCEPTION' with CRASH or WARNING 2019-03-19 23:09:24 -07:00
ShizCalev e4a4f95942 Fixes autonaming APCs not supporting areastring 2018-11-17 04:03:09 -05:00
ShizCalev 597bf9b557 [s] Improves AI, turret, and door logging (#41327)
cl ShizCalev
admin: Fixed AI fingersprints not getting logged
admin: Fixed some door interactions not being logged at all.
admin: Turret control interactions are now in mob combat logs
/cl

Fixes #40203

Semi WIP. Good to merge for the most part, but I would like to add logging in a couple more spots.
2018-11-12 20:54:58 +13:00
Denton 7e2d953b70 Deep storage bunker fixes and tweaks 2018-10-23 09:14:31 +02:00
BeeSting12 e51d8d173c Makes the prices more reasonable. (#40532)
* flashlight

* YouTool check

* bar vendor

* shadycigs and kitchen

* engivend

* subject217s autodrobe stuff

* vendomat and botany

* merge conflict

* megaseed vendor

* emergency nanomed is down to 25

* medical vendor
2018-10-12 15:04:03 +02:00
ShizCalev 7ba9a5e1d4 Fix APC & Air Alarm interface not refreshing properly (#40401) 2018-09-22 21:09:52 -07:00
skoglol 817c9c0ffc Powernets now tracks load added between power ticks. (#40216)
* Powernet non-machine processing changes.

* forgot an =

* Reverts floodlight changes.

* Clamps surplus() to valid values.
2018-09-14 13:05:21 +02:00
Emmett Gaines ca23b93bc3 Standardized vis_contents overlay system + better computer glow (#39973) 2018-08-30 03:22:32 +03:00
81Denton 54be1e1884 Fixes night lighting anti-spam cd, adds APC toggle desc (#39942)
* Fixes night lighting anti-spam cd, adds APC toggle desc

* Silicon examine desc
2018-08-28 18:30:40 +03:00
Garen Crownguard 291583440f screwdriver_act signal (#39877) 2018-08-27 05:56:45 -04:00
Tad Hardesty fe30e9ab03 Fix the power flow control console (#39580) 2018-08-08 21:02:09 +03:00
81Denton 48f3b9c8a8 Add pixel offsets to directional APC/air alarm subtypes (#39432)
This PR adds air alarm subtypes with preset dir/pixel offset values and adds
pixel offsets to autoname APCs.

While air alarm/APC pixel offsets get overwritten according to their dir on
New(), they still float in the middle of the room while you're working in the
map editor. Very annoying if you don't have another APC to copy and have to set
the pixel offset manually, just to move it out of the way.
2018-07-29 19:41:50 -07:00
Gwolfski c064b6bf7d auto_name and directional APC's (#38871)
adds auto name apc's and directional apc's for easier map making.
2018-07-08 14:10:56 +12:00
Tad Hardesty 2f212e16a3 Remove redundant anchored=TRUE from machines 2018-05-27 19:23:37 -07:00
vuonojenmustaturska 1eccbcca18 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 11:38:02 +12:00
81Denton 1235c3ff19 [Ready] Syndie air alarm/APC subtypes, cleaning up syndie lavaland piping (#37602)
* syndicate subtypes for air alarms and APCs

* syndie lavabase layer3 piping subtypes

* adds missing lava syndie stock parts

* syndicate access

* Replaces loose stock parts/upgrades chem dispensers/adds kitchen boards

* removes redundant typepath
2018-05-16 13:17:41 -04:00
vuonojenmustaturska 00cbe71ee1 charging define 2018-05-06 14:58:03 +03:00
vuonojenmustaturska 6a73b706bd Moves removing the cell to screwdriver_act for APCs 2018-05-03 20:21:31 +03:00
vuonojenmustaturska 1f1bc2ed32 Splits APC attackbys into tool acts, removes some old parts that do nothing and allows crowbars to remove the cell too (#37035)
* APC crap

* moar define

* honk

* cover defines
2018-05-02 08:32:00 +02:00
81Denton f41d77063b fixes obj descs and adds new ones (#37483) 2018-04-27 21:20:55 +03:00
Fox McCloud 057aa31cda Kills off /obj/item/device (#37297)
* Kills off /obj/item/device

* whoops

* whoops

* Fix
2018-04-23 15:00:23 +02:00
pigeons 6135ec864f Refactors bitflag macro values into bitshifts (#37234)
* Refactors bitflag values into bitshifts

* minor formatting edits

* Unbitshifts a macro set that skipped 3 for whatever reason
2018-04-19 18:36:35 -04:00
AnturK 66d9a4a0cf Removes /related area variable. (#37173)
* Removes /related area variable.

* area_contents begone

* doorstuff
2018-04-14 12:45:00 +03:00
Tad Hardesty 80570931d1 Fix various macro consistency problems (#37092) 2018-04-11 13:20:57 +03:00
kevinz000 f300a5c155 Interaction/Attack Hand Refactor (#36405) 2018-03-23 11:20:54 +01:00
Shadowlight213 7dc030fd3d lowers damage cap on breaking apcs (#36520) 2018-03-19 22:06:20 -04:00
ShizCalev 40e2cc568d Cleans up vars 2018-03-10 12:54:22 -05:00
kevinz000 8ebc63d2f2 Randomized Station Time + Night Shifts 2018-02-20 21:59:44 -08:00
Jordan Brown d282c60c7d Quote the armor lists (#35668) 2018-02-16 01:25:42 -05:00
ACCount c6e607dc17 Refactors use_sound and changes the way tools play sounds (#35521)
* Adds list support to usesound, ports drills to usesound

* Adds more tool sounds, changes usesound usage to play_tool_sound

* fix
2018-02-12 17:16:47 +02:00
ShizCalev bfde5ac057 [s] Fixes altclick exploits (#35456)
* Fixes altclick exploits

* Removed free spam, fixes monkey altclicks

* replaced named args with proper defines

* More cleanup and fixes

* Better yet

* Another exploit fix

* pet carrier fix
2018-02-11 16:06:12 +13:00
ACCount 100c4b6114 Adds new helper: use_tool, shakes things up in tool code (#35095)
* small changes

* Adds a use_tool helper and changes some tools to use it

* Ports most tool operations to use_tool

* Converts more tool operations to use_tool and tool_act

* Changes some things to default_unfasten_wrench

* Improves tool_behavior support in mech construction

* Code review memes

* Fixes all instant use_tool calls failing

* Code improvements

* merge fixes
2018-02-06 11:02:53 +01:00
Dax Dupont 317574712f Fixes the AI from being able to magically turn on broken APCs (#35284)
* Fixes the AI from being able to magically turn on broken APCs

* actually shorted allows you to operate the interface still

* bleh

* kiki ya ya
2018-02-06 00:40:01 -05:00
vuonojenmustaturska 6406896df1 Replaces a bunch of obj vars (and emagged on machinery/items) with obj_flags (#34078)
* It works, but is it worth it?

* bitfield helpers take 1

* Would this work?

* remove dangling debug code

* rebase & fixes

* vv bitfield stuff, reading

* DNM oceans of shitcode DNM

* honk

* honk2

* plonk

* rebase & fix
2018-01-22 20:19:46 +01:00
F-OS 60e410239c HAL UNLOCK THIS APC 2018-01-12 20:58:23 -07:00
Tad Hardesty f2dbe5cf13 Replace explicit z-level checks with defines (#33829)
* Replace explicit z-level checks with defines

* Rename turf_z_is_planet for consistency

* Use TRUE/FALSE in onSyndieBase
2017-12-29 14:40:06 -05:00
Emmett Gaines 25080ff2c4 defines math (#33498) 2017-12-17 11:02:11 -05:00
vuonojenmustaturska 5233ec1f6a Finishes the forceMove port (#33519)
* a thing

* thingy 2: electric boogaloo

* Obligatory webeditor commit
2017-12-15 10:39:34 +13:00
Ashe Higgs fe816daca1 Adds emergency lights, built into light fixtures (#33213)
* Adds emergency lighting

* Checks for the cell during construction

* Adds AI/APC control of emergency lights

* Malfunction ability

* get_area(src)

* Loop checking, processing to come when clarified

* that DOES remind me to do this!
2017-12-03 13:53:58 -05:00
YPO e628b58a05 Same for APCs 2017-11-21 23:34:45 -07:00
ShizCalev 8eafaccc88 Cleans up unused code 2017-11-20 00:03:33 -05:00
AutomaticFrenzy 40b918f341 Alt clicking additions (#32607)
Adds alt clicking to lock/unlock for apc and air alarm
2017-11-14 14:48:25 -05:00
Firecage afd8bb7be5 Code Consistency: luminosity --> light_range (#31355)
* Code Consistency: luminosity --> light_range

* Finally-remembers-to-update-PR is best lizard.

* Update singularity.dm
2017-10-22 01:06:07 -04:00
Ashe Higgs 1a84f9c714 Fixes cogged APCs being permanently locked to non-servants (#31673)
* Fixes cogged APCs being inaccessible

* Doop ba doop
2017-10-16 23:08:39 +02:00