Commit Graph

10198 Commits

Author SHA1 Message Date
vuonojenmustaturska
fd4c753a04 replaces BANG_PROTECT_2 with a component, also kills OMNITONGUE_2 and flags_2 (#37597)
* kill BANG_PROTECT_2

* let's put this back in

* dirty

* kill OMNITONGUE_2

This is a write-only variable, probably leftover from some refactor years ago

* kill flags_2
2018-05-02 14:13:41 -04:00
Jordan Brown
6ff57368b0 Merge pull request #37516 from XDTM/LinearBrainDamage
Changes the trauma formula so constant small ticks don't keep triggering traumas
2018-05-01 10:56:18 -04:00
XDTM
e733e139c5 fix 2018-05-01 12:23:20 +02:00
Alomga
f3840f8715 Makes dizziness work again 2018-04-30 14:38:37 -04:00
ShizCalev
d86c2818a5 Removed /obj/item/asteroid path (#37500)
* Cleans up some item paths

* removed kebab
2018-04-30 12:57:36 +03:00
Mickyan
ed3a11e2b8 Makes nutrition level show up on self-inspect (#37509)
* Makes nutrition level shows up on self-inspect

* Changed to switch statement, edited flavor text
2018-04-30 01:19:20 -04:00
george99g
f28092423a Deactivate suicide prescans via ghost var (#36839)
* Create suicide_log proc in /mob/living

Suicide logging moved to there.

* Stop after-suicide prescan clones
2018-04-30 14:35:00 +12:00
vuonojenmustaturska
ccf8fc5bc5 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-30 10:32:23 +12:00
vuonojenmustaturska
ac55920c62 I'll get you next time, gremloids 2018-04-29 08:53:52 -05:00
vuonojenmustaturska
98f8ca7553 Moves several clothing-specific flags from /atom to their proper type (#37486)
* lavaproof

* more flags

* it compiles

* Remove a couple of lists
2018-04-28 13:22:28 -05:00
XDTM
48739b563e Changes the trauma formula so constant small ticks don't keep triggering traumas 2018-04-28 11:47:55 +02:00
kevinz000
19ce08f157 More integrated circuits and NTNET upgrade! (#37165)
rscadd: Circuit ntnet components buffed. Added a new low level ntnet component that can send custom data instead of just the two plaintext and one passkey format, which things will use by default. Ntnet now uses a list for their data instead of three variables. they also have lowered complexity for the now weakened normal network component, and has lower cooldowns.
2018-04-28 13:23:44 +12:00
oranges
ecd0d8b538 Merge pull request #37476 from AnturK/thisalwaysbuggedme
Uppercases slot defines.
2018-04-28 13:13:56 +12:00
AnturK
2219c09ac8 Removes some unused code. (#37449) 2018-04-27 11:32:56 -04:00
AnturK
52a99c09d6 Uppercase slot defines 2018-04-27 10:38:32 +02:00
AnturK
4c5a43eeb8 Prefix for item flag slot defines. 2018-04-27 10:30:48 +02:00
Armhulen
f6e666abeb ok! (#37439) 2018-04-27 03:27:41 -04:00
kevinz000
b2f860620a fixes cqc working outside chef assigned areas (#37375)
* cqc

* Update martial.dm

* Update cqc.dm

* Update cqc.dm

* Update human_defense.dm

* Update human_defense.dm

* Update human_defense.dm
2018-04-24 11:23:32 -04:00
AnturK
37e942c775 Fixes brain tumor. Again. (#37378) 2018-04-24 17:58:19 +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
AnturK
e72dee006a Fixes pAI's breaking drone static. (#37320) 2018-04-22 20:20:24 -04:00
SailorDave
abe15054ad [READY] A few additions, tweaks, and fixes for integrated circuits (#36270)
* A few additions, tweaks, and fixes for integrated circuits, and some very minor tweaks to hydroponics and carbon/silicon examine() to support those changes.

🆑 SailorDave
rscadd: A new manipulation circuit, the Seed Extractor. Extracts seeds from produce, and outputs a list of the extracted seeds.
rscadd: A new list circuit, the List Filter. Searches through a list for anything matching the desired element and outputs two lists: one containing just the matches, and the other with matches filtered out.
rscadd: A new list circuit, the Set circuit. Removes duplicate entries from a list.
tweak: The Plant Manipulation circuit can now plant seeds, and outputs a list of harvested plants.
tweak: Reagent circuits can now irrigate connected hydroponic trays and inject blood samples into Replica pods.
tweak: The Examiner circuit outputs worn items and other examined details of carbon and silicon mobs into the description pin.
tweak: List Advanced Locator circuit now accepts refs as well as strings.
bugfix: Fixed the Power Transmitter circuit not properly displaying a message when activated.
bugfix: Medical Analyzer circuit can now properly scan non-human mobs.
/🆑

Additional details:
- Plant Manipulation: obj/item/seeds harvest() proc and obj/machinery/hydroponics attack_hand() procs were adjusted slightly to allow this, returning a list when harvested.

- Seed Extractor Module: obj/machinery/seed_extractor /proc/seedify() was adjusted to return a list of seeds.

- Hydroponics replica pod was adjusted to be injectable|drawable, and use reagents and on_reagent_change() rather than a hardcoded attackby(), so other injection methods can use it to allow blood sampling/future reagent reactions regardless of type.

- IC Examiner Module returns a list of examine() messages from mob/living/carbon, mob/living/carbon/human, mob/living/carbon/silicon, and mob/living/carbon/silicon/ai in the description data pin, rather than outputting null since they had an empty desc var. The relevant examine procs were adjusted to return their messages.

 - IC get_data() and set_pin_data() adjusted to return text/num properly and to WEAKREF/un-WEAKREF the contents of passed lists.

* fixes errors from screwy merge conflicts and replaces illegal proc name

* re-added a traits tag that accidentally got removed

* review changes

* plant analyzer outputs irrigation status and connected trays, search circuit uses 2 Cx down from 6

* examiner outputs the occupied turf of the examined object and can also scan turfs

* string inputs on circuit pins now use multiline input; fixed edit/remove not working on list pins; fixed large screens not outputting visible messages when held

* locomotion now has a cooldown of 0.1sec and their complexity + pathfinder complexity reduced

* assemblies can open doors they have access to from a card reader through collision

* Merge master branch; fixes pathfinder AStar runtime; fixes tile pointer; fixes material manager self-ref; various grammar touchups

* review changes

* fixes improper weakref type checking

* fixes seed extractor merge confict, removes unnecessary weakref change

* dang ol merge undoing my changes HECK

* updated to robbym's tile pointer PR with clearer var names

* added missing "not scanned" results to tile analyzer, removes duplicate circuit entries(???? how)
2018-04-21 16:00:25 +03:00
Dax Dupont
d923358390 Fixes cat parts not showing up in perfs. (#37202)
* Fixes cat parts not showing up in perfs.

* electric boogaloo

* this works
2018-04-19 18:40:52 -04: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
ShizCalev
0c5bfbeb0a faction check proc instead 2018-04-17 11:01:53 -04:00
ShizCalev
29e927d902 Fixes SCP ruin turret faction 2018-04-17 10:41:43 -04:00
vuonojenmustaturska
26fff381b5 Merge pull request #37214 from AnturK/imighthavebraindamage
Fixes adjusting brain damage.
2018-04-16 15:39:00 +03:00
vuonojenmustaturska
e9529e4cfd Gives mining bots back their mesons (#37196)
* Gives mining bots back their mesons

* qdel
2018-04-16 05:35:35 -04:00
vuonojenmustaturska
c0bad9fd32 Couple of cryo fixes 2018-04-15 12:38:18 -05:00
AnturK
43d323afff Fixes adjusting brain damage. 2018-04-15 12:17:15 +02:00
Jordan Brown
4b2de7a785 Merge pull request #37156 from ExcessiveUseOfCobblestone/patch-38
Stops silicons looping through world every login looking for flippin runes
2018-04-14 22:47:36 -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
Grandmother of 50
e8d3746b71 Update login.dm 2018-04-12 08:51:37 -04:00
kevinz000
ab993a117a Component Storage, Experimental attack_hand and [ui_]interact() refactors (#36696) 2018-04-12 14:46:14 +03:00
ShizCalev
fbdbd51c88 Adds an period to point messages (#37113)
* Adds an exclamation point to point messages

* period.
2018-04-12 12:27:35 +03:00
pigeons
40e95fad86 Fixes overlay update for washing bloody hands (#37094) 2018-04-11 14:30:35 +02:00
Tad Hardesty
80570931d1 Fix various macro consistency problems (#37092) 2018-04-11 13:20:57 +03:00
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
AnturK
0744eb263e Fixes slime latching (#37002) 2018-04-08 05:59:33 -04:00
AnturK
b57b013127 Fixes cow tipping properly (#37015) 2018-04-07 19:15:31 -04: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
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
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
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
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