Commit Graph

25102 Commits

Author SHA1 Message Date
iksyp ab50eb926a Whether or not a pacifist can fire a gun is no longer based on the gun being harmful, but the chambered round being harmful (#36670)
fix: makes dragnet non harmful
tweak: pacifists can now use any disabler or stun setting on any energy gun
code: removed all of the pacifism check code from code/modules/mob/living/living.dm
code: gun objects no longer have a harmful variable, instead, ammo_casing objects now have a harmful variable, which is by default set to TRUE
code: if a pacifist fires a gun, it checks whether or not the round chambered is lethal, instead of whether or not the gun itself is lethal.
2018-04-11 21:59:03 +12:00
Robustin 8825f020b2 Removes Environment_target_typecache from Hostile Simplemobs (#36572) 2018-04-11 21:56:58 +12:00
pigeons a93fea8416 AI requires silicon exp instead of crew exp for roundstart role (#36469)
* Ai requires silicon xp

* Reverses byond age change
2018-04-11 21:53:34 +12:00
Jordan Brown 8065ad6d3e Merge pull request #37050 from AutomaticFrenzy/patch/fullscreen-cloning
Fix fullscreens added to clientless mobs not stretching properly
2018-04-10 20:22:30 -04:00
oranges 9e11e4a216 Merge pull request #37071 from kevinz000/patch-480
Fixes constants chips getting scrambled by EMPs
2018-04-11 11:19:12 +12:00
Bjorn Neergaard d7966ced09 Use a rust DLL for logging (#36858)
By moving our logging to a DLL we see a drop in CPU/real time of 2-3 orders of magnitude. This is due to BYOND opening and closing file handles on every write, causing incredible amounts of unneeded overhead. The logging library also handles timestamps for us, further increasing performance gains.

This library will also allow for further offloading in the future, such as completely replacing file2text() and friends.

A pre-compiled DLL is bundled, but Linux users will have to compile manually. Directions can be found at the rust-g repo.

Log output is enhanced with millisecond time stamps:

[2018-04-01 15:56:23.522] blah blah blah

This includes runtimes as well, which benefit from the same timestamp improvements and no longer have hacky splitting code to add their own timestamps.

Log shutdown is handled in a dedicated proc called as late as possible, as rust-g integration expands this will be factored out into a generic native code shutdown proc.
2018-04-11 10:01:31 +12:00
Davidj361 232f788bb9 Fixed paperbin dropping and fingerprints (#36788)
* Removed parent call to stop the paperbin from dropping from being carried when getting a pen or paper.

* Found a better fix

* Better operator

* Fixed fingerprints not being created upon paper bin interaction

* Review change
2018-04-09 21:13:35 +02:00
Davidj361 223392e80e Detective Scanner Fixes (#36915)
* Fixed notes for detective's printed report

* Added alt-click functionality to clear logs for detective scanner

* Added a right click option to detective scanner to display logs without printing them

* Made the display function as an action button.

* Review changes done

* review changes

* review changes and a bad player message fix
2018-04-09 21:04:58 +03:00
Emmett Gaines c85c19524c Fixes escape pods not getting to their default destination (#37065) 2018-04-09 12:24:20 +02:00
vuonojenmustaturska e9fb31e0aa Merge pull request #37042 from ninjanomnom/just-the-area-I-needed
Fixes underlying area grabbing subtypes
2018-04-09 13:23:04 +03:00
KorPhaeron cfe8df4d97 Finishes overflow roles (#37053) 2018-04-09 13:10:10 +03:00
Emmett Gaines 166e001950 Various minor arena shuttle fixes (#37012) 2018-04-09 11:37:22 +02:00
Emmett Gaines 11ba45f708 Makes the pirate ship use a proper shuttle template (#37006) 2018-04-09 11:36:34 +02:00
Dax Dupont 62db8ba328 Adds an are you sure dialog when pressing delete note. (#37017)
* Adds an are you sure dialog when pressing delete note.

* The true is out there
2018-04-09 00:40:17 -04:00
kevinz000 169603165d fix 2018-04-08 21:28:00 -07:00
Ashe Higgs 7e4da575d5 New drink sprites for grasshopper, stinger, secs (#37004) 2018-04-08 20:27:07 -04:00
AnturK fad489526f Makes revheads always show on top of the check antags listing. (#37033) 2018-04-08 20:22:58 -04:00
Spirono db046805f0 Wrench Supermatter Shard to the ground (#36991)
* Temporary concept code for PR

I doubt this code is the standard method of doing things, but trying to understand this code is a bit AIDS

* Using wrench_act() and default_unfasten_wrench() instead

It actually works this time
2018-04-09 00:59:50 +03:00
vuonojenmustaturska ece7de4fb2 Admin borg panel (#36990)
* borgpanel

* wip borg upgrades

* some more

* lockdown

* Update borgopanel.ract

* Update borgopanel.ract

* Update borgpanel.dm

* fuggin borg upgrades :DDD

* more compile, less whatever

* meaningless churn

* and we're done

* usr, vtec

* Update borgopanel.ract

* Update borgpanel.dm

* many squid are cool

* reviews

* coerce to client, much nicer this way

* add admin logging

* review stuff
2018-04-08 11:46:27 -04:00
Dax Dupont 469a216c71 Minor VR sleeper related changes (#36974) 2018-04-08 06:03:32 -04:00
AnturK 0744eb263e Fixes slime latching (#37002) 2018-04-08 05:59:33 -04:00
Tad Hardesty 0053acd694 Fix fullscreens added to clientless mobs not stretching properly 2018-04-08 00:39:24 -07:00
kevinz000 4d41d3cf95 Shuttle garbage collection (#36871)
* Shuttle garbage collection

* istype
2018-04-07 20:51:30 -04:00
vuonojenmustaturska 54ef1d567f Merge pull request #36980 from tgstation/Cyberboss-patch-1
Prevents direct Del() calls
2018-04-08 03:47:40 +03:00
vuonojenmustaturska e7ef7353f2 Merge pull request #37013 from AutomaticFrenzy/patch/atmos-map-icons
Add on-map sprites for pre-enabled atmos pumps
2018-04-08 03:46:28 +03:00
ninjanomnom bea53726f1 Fixes underlying area grabbing subtypes 2018-04-07 20:13:50 -04:00
AnturK b57b013127 Fixes cow tipping properly (#37015) 2018-04-07 19:15:31 -04:00
Tlaltecuhtli 34127e9f8d fixes #34388 by adding cam (#36627)
* wip fixes #34388

🆑 
fix:stuff
🆑

* vv

* ASDASD

* daikshu

* wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

* wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

* 99999999999999999999999999999

* *tabs*

* Update comp_board_designs.dm
2018-04-06 10:25:59 -04:00
PKPenguin321 8158dbac1d READY flash fixes (#36920)
* flash fixes

* switches to get_turf

* fixes the fix

* parent call and comment

added the comment so it doesnt get removed again by accident
2018-04-06 05:05:48 -04:00
robbym 18c87f8b04 Fixes null reference not pulsing the 'not scanned' output (#36973) 2018-04-06 11:45:36 +03:00
SailorDave 76abfb02b0 Tweaks mixed blood samples to preserve cloneable if the samples are the same (#36961) 2018-04-06 02:54:29 -04:00
Tad Hardesty d00239d54a Add on-map sprites for pre-enabled atmos pumps 2018-04-05 20:24:05 -07:00
Jordan Brown 339f95a375 Merge pull request #36976 from Iamgoofball/patch-422
fixes cows moving while tipped
2018-04-05 16:57:05 -04:00
kevinz000 0c27e227cc Latejoin Silicons (#36560) 2018-04-05 10:09:52 +02:00
Emmett Gaines 49d1e9ee66 Shuttles have additional baseturfs, and other minor baseturf changes (#36388)
cl ninjanomnom
fix: Shuttles have proper baseturfs now.
fix: Mineral walls properly use their baseturfs when destroyed/drilled.
add: A new engineering goggle mode allows you to see the shuttle area you're standing in.
admin: Buildmode works a bit better with baseturfs now and can properly only remove the top layer of turfs when editing. Note that as a result the order you place turfs is important and a wall placed on space means when the wall is removed there will be space underneath.
/cl

This adds an area hook for turfs getting the PlaceOnTop proc called so shuttle areas are able to intercept it and add a special turf used for determining where the bottom of the shuttle is. I'm not too certain on this being the best way to handle it but the alternatives restrict the kind of turfs that are allowed to be on shuttles which I didn't want to do as it was part of the whole intent of the baseturf change to allow any turf type on shuttles.

The alternative to the area hook would require a tool which attaches turfs to a shuttle which is why there's a shuttle area viewing tool in this pr. I considered doing it this way first but decided it was too clunky.

In addition to other changes:

Tiled/Reinforced floors have proper baseturfs now.

A large amount of the remaining ChangeTurf calls were swapped over to various baseturf helpers so, for example, mining doesn't create a lavaland turf if somehow the mineral wall is on plating.

Escape pods, the aux base, and syndicate drop pod have been converted over to shuttle templates as well.

The error when the timid var is set incorrectly has been changed to a stack_trace.

The change turf file has been made all lowercase as per standard.
2018-04-05 11:13:20 +12:00
Jordan Brown 75ed329ec8 Prevents direct Del() calls 2018-04-04 19:03:39 -04:00
Iamgoofball f01849afa4 im dumb 2018-04-04 13:59:24 -07:00
Iamgoofball 2c952d6769 fixes cows moving while tipped 2018-04-04 12:02:16 -07:00
fludd12 b1c7bccf49 Burning ores (from either fire or lava) now yields materials at a decreased rate. (#36521)
* Burning ores (from either fire or lava) now yields materials at a decreased rate.

* Randomizes the returns!
2018-04-04 12:01:34 -05:00
vuonojenmustaturska b195182f6a fixes revenant deadchat 2018-04-04 09:07:36 -05:00
Jordan Brown 3147e4bb27 Fixes chem macros with trailing ; 2018-04-04 09:05:28 -05:00
vuonojenmustaturska 07781978bc move enforce_human_authority check before species.before_equip_job() 2018-04-04 09:04:24 -05:00
Jordie 4a5c1d07e6 Fixes errors with making temp rank changes before permanent ones (#36897)
* fixes errors with making temp rank changes before permanent ones

* adds parenthesis
2018-04-04 00:53:01 -04:00
kevinz000 a0005c9153 Fixes bloodbath effects not working on people in crit (#36598)
Also some minor improvements to performance by caching the nearby mobs list once
2018-04-04 12:08:52 +12:00
Armhulen c45a98e559 podpeople, wishgranter victims, and clones no longer get 0 as one of their affixes (?) (#36733)
* yeeeeeeeeeeap

* i turned myself into a commit morty!

* I'M COMMIT RICKKKKKKKK

* tinydwarfy was an inside job

* *reels in pain* you KNOW I DON'T LIKE PISTACHIOS

* WOO
2018-04-04 11:11:31 +12:00
XDTM 8548bd88b0 Adds mob biotypes, categories that can be used to only affect certain mob types (#36570)
* Adds mob biotypes, categories that can be used to only affect certain mob types

* good boy travis

* Update syndicate.dm
2018-04-04 11:09:26 +12:00
robbym befdaf3055 Fixes 0 value not being saved in constant memory circuits (#36867)
* Fixes 0 value not being saved in constant memory circuits

* Fixes 0 value not being loaded in constant memory circuits

* Switched to isnull proc for null checks
2018-04-03 13:00:01 +03:00
YPOQ 1226afde9f Fixes mannitol not curing minor brain traumas (#36645)
* Fixes mannitol not curing brain traumas

* Makes has_trauma_type random, adds type arg to cure_trauma_type

* Adds get_traumas_type proc

* Default to /datum/brain_trauma
2018-04-03 12:41:17 +03:00
kevinz000 d804e3af61 GC fixes 1 (#36705) 2018-04-03 08:54:32 +02:00
oranges fcd2ea9b16 Removes april fools pitch shifting on admin music 2018-04-02 18:08:17 -05:00