Commit Graph

291 Commits

Author SHA1 Message Date
Ling
ab0dd01a09 Merge pull request #2967 from yogstation13/upstream-merge-39967
[MIRROR] Combat/Stun (slip) overhaul staging, mobility flags, adds crawling
2018-10-11 19:54:55 +02:00
AnturK
e93338320d Fix forced gravity component (#40790)
How many of these i will have to fix
2018-10-11 17:22:37 +02:00
kevinz000
1f7a76ade0 Combat/Stun (slip) overhaul staging, mobility flags, adds crawling (#39967)
Aiming to implement the framework oranges has detailed in https://tgstation13.org/phpBB/viewtopic.php?f=10&t=19102
Moves canmove to a bitflag in a new variable called mobility_flags, that will allow finer grain control of what someone can do codewise, for example, letting them move but not stand up, or stand up but not move.

Adds Immobilize()d status effect that freezes movement but does not prevent anything else.
Adds Paralyze()d which is oldstun "You can't do anything at all and knock down).
Stun() will now prevent any item/UI usage and movement (which is similar to before).
Knockdown() will now only knockdown without preventing item usage/movement.
People knocked down will be able to crawl at softcrit-speeds
Refactors some /mob variables and procs to /mob/living.
update_canmove() refactored to update_mobility() and will handle mobility_flags instead of the removed canmove

cl
rscadd: Crawling is now possible if you are down but not stunned. Obviously, you will be slower.
/cl
Refactors are done. I'd rather get this merged faster than try to fine tune stuff like slips. The most obvious gameplay effect this pr has will be crawling, and I believe I made tiny tweaks but I can't find it Anything I missed or weird behavior should be reported.
2018-10-10 23:21:27 +01:00
vuonojenmustaturska
5a6cfac5be Stops using the rad insulation component to provide default rad insulation features in order to save a bit of memory (#40662)
* henk

* oh yeah this

* undo this meme

* stuff
2018-10-06 13:27:31 +01:00
Ling
ca70a8085e Merge pull request #2884 from yogstation13/upstream-merge-40689
[MIRROR] Ghosts can now see the AI's camera
2018-10-06 13:25:48 +02:00
ShizCalev
d03568fb0e Ghosts can now see the AI's camera (#40689)
cl ShizCalev
tweak: Ghosts can now see active AI cameras.
/cl
2018-10-06 11:41:11 +01:00
Jordan Brown
84c829d75f Merge pull request #40704 from ShizCalev/forensics-istype
Fixes forensics add_fingerprint runtime
2018-10-05 18:09:34 +01:00
AnturK
3fe15a2f86 Fixes rotation verbs. (#40643) 2018-10-03 18:20:31 +02:00
Emmett Gaines
6d5a722289 More orbit fixes (#40557)
Attempt 2 at fixing the remaining bugs with orbits

Incorpmove had to be converted to forceMove() to make orbits able to tell when they move. They used loc setting before. This likely breaks some things but I couldn't find any particular issues. We should be overriding forceMove anyway for things that need to handle loc changes like that differently.

fixes #40544
fixes #40522
2018-10-02 22:03:32 +01:00
ShizCalev
5a29dc43e3 Replaces istypes with the proper tool_behaviour checks. (#40414) 2018-10-01 01:10:45 +01:00
Emmett Gaines
636e311d74 Component strengthening course (#40480) 2018-09-26 19:52:39 +02:00
Emmett Gaines
1d157c337d Componentizes orbiting (#40433)
cl ninjanomnom
fix: Orbiting is a little more aggressive about staying in orbit. The wisp as a result now correctly follows you over shuttle moves.
/cl

Goodbye SSorbit you ticking piece of shit

This also gives update_sight a signal so wisp code isn't hardcoded into it.
2018-09-25 09:07:24 +01:00
ShizCalev
a25a7aafe7 fixes ventcrawling & flying mobs making footstep sounds (#40317) 2018-09-18 20:55:02 +01:00
Jordan Brown
d97abfa1b1 Merge pull request #40301 from AnturK/sureheresmycode
Failsafe uplink codes.
2018-09-17 14:31:56 +01:00
WJohn
fc3e2400a2 The great floor tile purge (#40065)
* Converts all colored plasteel tiles to turf decals.

* Removes now deprecated floor icons and paths.

* Hotfixes on three maps.

* Moves script to its own folder.

* Fixes wild west.

* Fixes holodeck

* Fixes eye rape bug.

* Fixes meta and lavaland biodome ruin having some missing textures.
2018-09-15 18:35:42 +02:00
Emmett Gaines
523b4bde2a Some radiation balance tweaks (#40066)
* Radiation toxin damage has been slightly increased.
* Contaminated objects are overall a bit weaker but are easier to create in the
  first place.
* Showers deal with high amounts of contamination much faster but aren't that
  great at dealing with weakly contaminated objects.
* Atmos holo-barriers have been given radiation insulation like the engineering
  ones.
2018-09-11 10:59:48 +01:00
kevinz000
d3c2936738 bike horns and most things that have the squeak component no longer triggers from projectiles flying past them (#40077)
* Update squeak.dm

* woops

* Update squeak.dm
2018-09-07 11:57:19 +01:00
oranges
8583ec519c Merge pull request #39990 from ninjanomnom/origin-signal
Fixes some forgotten signals in origin signal refactor
2018-08-30 01:13:30 +01:00
Emmett Gaines
488b6b5517 Adds the signal origin as the first arg to all signals (#39861)
* Adds the signal origin as the first arg to all signals

* Fixes some storage and nanite procs
2018-08-28 16:28:34 +01:00
1fbff5f83b23d39d38b1dfcb4cac8d9b
ac4872fffd Merge pull request #2338 from yogstation13/upstream-merge-39864
[MIRROR] Move signal registration from components to datums
2018-08-27 15:39:49 +02:00
1fbff5f83b23d39d38b1dfcb4cac8d9b
b85711aed0 Merge pull request #2337 from yogstation13/upstream-merge-39389
[MIRROR] Adds footsteps
2018-08-27 14:47:19 +02:00
oranges
a0e3aa0bc8 Merge pull request #39864 from ninjanomnom/datum-registration
Move signal registration from components to datums
2018-08-26 12:41:01 +01:00
nicbn
afab24733f Adds footsteps (#39389)
Walking instead of running will reduce the noise, making it now more useful to gameplay.
Plating and wood makes a lot of noise, floor and carpet are quieter.

Range and volume may need to be balanced later on.

Oh, I reorganized some sound files too - the ones beepsky and medbot uses.
2018-08-26 12:40:52 +01:00
oranges
af0253c3e4 Merge pull request #39867 from AutomaticFrenzy/patch/docs
Improve a few assorted documentation comments
2018-08-26 12:39:09 +01:00
oranges
d537d75b05 Merge pull request #39883 from vuonojenmustaturska/sharedcaches
Eliminates some duplicate typecaches to remove 30k+ assoc list items
2018-08-26 01:46:48 +01:00
Nich
3b2ff5630e Merge pull request #2303 from yogstation13/upstream-merge-39753
[MIRROR] Fixes storage component's COMSIG_TRY_STORAGE_TAKE_TYPE, and therefore, fixes bio bags not working for reproductive extracts.
2018-08-24 13:30:54 +02:00
kevinz000
02225bde5f exploitfix (#39842) 2018-08-24 10:40:03 +01:00
kevinz000
5f6ccfa7e7 Fix bio bags not working for reproductive extracts (#39753)
> Take 1
> Length of cubes is above 1
> Cut(1)
> Wait that just cut the entire list to nothing

Now the signal should work properly instead of not working whenever there's
more of a thing than the requested amount.
2018-08-24 03:31:54 +01:00
vuonojenmustaturska
162146ec2e Bring a beloved feature back to the codebase (#39863)
Waddling is now available as a component
2018-08-23 20:11:33 +01:00
McBawbaggings
77b04e2549 isnum() checks for squeak component initialisation (#39847)
if you supply step_delay_override or use_delay_override as 0 then component
just ignores these new values despite them being valid options

by using isnum() checks, these values can actually be used for this
2018-08-23 02:18:23 +01:00
XDTM
b4b543e111 [Ready] [Reviewed] Nanites 2 (#37922)
* Adds programmable nanites to robotics

* Oh yeah i might want to actually PR the files

* nanite injectors, nanite printer, nanite analyzer

* We're back

* remove some reagent stuff

* more removal

* those too

* cool icons!

* might pass travis now

* lotsa code

* tgui fixes/misc fixes

* WE'RE FUNCTIONAL BOYS

* some ui stuff

* Misc fixes, cloud update, access nanites

* activation check

* stuff

* preparing for new chamber sprite

* Physical backups, sensor nanite programs

* techweb sensor nanites

* fix

* include

* fix again

* revert

* blinding nanites

* minor change

* minor tweaks

* makes minor shocks interfere with nanites

* fix

* split trigger file into the others, for consistency

* cleanup, added mindshield nanites to techwebs

* include n all

* how'd that even happen

* Fixed HUD, readded missing remote icon, added nanite scanner, health analyzers can now detect nanites, added stealth program

* cost tweaks

* better term

* new icon! by MrDoomBringer

* icons/tweaks

* tgui build

* boards

* fix

* fixes implants not updating mindshield status

* move implant hud to living

* new remote sprite

* scanner sprite

* biotype checks

* some nerfs

* new open chamber sprite

* Fixes mindshield implants not updating the HUD, fixes uninstalling always removing the first program, adds 25% and 75% health sensors

* correction

* nerfs antistun nanites

* fixes scanners and minor tweaks

* fixes revs with mindshield

* oh yeah haha

* Fixes wonky techweb

* Moves pyro program to weapon node

* Adds defib program and some investigate logging

* mistype

* fix

* fix2

* save your files before committing

* emps can desync from cloud

* pretty outdated

* Cloud backups are now tied to the cloud consoles; you can no longer build a new console to access existing backups.

* UI fix

* more fix

* okay fix for real

* tested and working

* Extra Settings rework, sensor nanites vastly better

* non-unique glitches

* Public chamber, extra settings rework, new sensors, speech program

* Mute and mind control nanites

* mind control into hazard

* better description

* fixes

* fixes relay nanites

* fixes TK access

* mind control costs less

* UI update

* removed pointless code bit

* tgui build

* compiles

* dammit

* paralysis keeps victim upright

* Adds sounds to consoles

* some feedback for some subtle effects

* new chem lore

* Viral nanite customization

* fix

* tgui build

* Added mitosis nanites

* removes glitched nanites from techwebs

* Added flesh eating nanites, poison nanites, hallucination nanites

* ,

* #traviscoding

* Adds memory leak, renames nanite roam node to nanite smart

* Voice sensor + some techweb desc tweaks

* hallucination and Hear() fix

* changes signal registering to the new method

* 75% done, i think

* should be all

* more fix

* more changes

* okay should be fine now

* ninja

* inheritance

* i don't care about originality!

* line endings

* line endings 2

* maybe

* fixes program installation

* new review

* line endings?

* line endings??

* line endings???

* wait do i even use this

* fixes public nanite chamber cloud id

* maint overlay for chambers

* args doesn't work well here

* antiabuse checks

* compile tho

* fixes locked remotes

* disk renaming

* skull echo nanites

* self scan program

* Condenses a lot of sensors into a few generic but customizable versions

* fixes machinery runtimes. Hacky, but a proper fix would likely require a refactor of machinery typing.

* forgot to save

* empty

* metastation nanite lab

* Removes duplicate APC

* fix for nanite chamber

* Raise max programs

* UI Tweaks, aggr. replication rebalance, minor fixes

* let's not do that again

* Fixes nanites meta merge conflict

* Merge conflict v2

* fuck this HDD is slow

* What the fuck did you just fucking say about me, you little leaf? I'll have you know I graduated top of my class in the Lawyer School, and I've been involved in numerous secret DMCA raids. I am trained in law violations warfare and you are nothing to me but just another target. I will wipe you the fuck out with precision the likes of which has never been seen before on BYOND, mark my fucking words. You think you can get away with changing the code? Think again, fucker. As we speak I am contacting my secret network of attorneys in the Fox and your IP is being traced right now so you better prepare for an outstanding warrant, maggot. The storm that wipes out the pathetic little thing you call your leaked code. You're fucking done, kid. I can file for an injunction anywhere, anytime, and I can take legal actions in over seven hundred ways, and that's just with my bare hands. Not only am I extensively trained in unarmed combat, but I have access to the entire arsenal of the Florida Statute and I will use it to its full extent to wipe your miserable ass off the face of Canada, you little shit. If only you could have known what unholy retribution your little "clever" action was about to bring down upon you, maybe you would have held your fucking tongue. But you couldn't, you didn't, and now you're paying the price, you goddamn idiot. I will send you to spend time in a Florida State Penitentiary if you ever decide to travel from Canada to the U.S. You're fucking done, kiddo.

* Adds virus symptoms that interact with nanites

* Fixes spreading nanites being more infective the more protection the victims have

* Review plus public chamber tweak

* . = ..()

* ball

* cloud

* . = ..()

* always press save all before committing

* missed a couple
2018-08-20 12:45:39 +01:00
Qustinnus
55b4759e5a Makes some improvements to mood code (#39750)
removes useless mood events subtypes
fixes mood event timers not resetting when they get triggered again
removes the depression overlay which makes our fruit happy
2018-08-19 22:57:41 +01:00
Ling
6296813c80 Merge pull request #2215 from yogstation13/upstream-merge-39743
[MIRROR] Moves nutrition events to the mood component
2018-08-18 10:43:55 +02:00
Jared-Fogle
61ed2dd7a9 Hovering over storage slots with an item in your hand will show you if you can put the item in (#39661)
Quality of life. Sometimes I forget whether or not I can put an item in my suit storage/pockets. Note this doesn't trigger for hands.
2018-08-18 00:25:01 +01:00
Qustinnus
5fd73d4d54 Move nutrition events to the mood component (#39743) 2018-08-18 00:12:37 +01:00
Ling
4244fe09bf Merge pull request #2154 from yogstation13/upstream-merge-39521
[MIRROR] Logging system refactor and improvement
2018-08-14 18:23:01 +02:00
Emmett Gaines
e866ec6b5a Make the signal redirect component a bit more transfer proof (#39612)
The turf change signal needed to get moved properly in transfer. It also needed
to have code to deal with the creator wanting to listen to the turf change
signal.
2018-08-12 21:47:34 +01:00
Patrick Chieppe
584ab92bc3 Logging system refactor and improvement (#39521)
* Refactor several log lines to use datum_info_line and atom_loc_line

* Add default return strings from datum_info_line and atom_loc_line

* Add parentheses around atom_loc_line data

* Change more logs to use atom_loc_line

* Add check in atom_loc_line for turfs to avoid calling get_turf on them

* Re-add removed 'at'

* Replace datum_info_line with key_name and atom_loc_line with loc_name

* Refactor logging functions

* Avoid double-logging self-interactions

* Fallback to simple stringification if all else fails in key_name()

* Rewrite muscle spasm logging to use log_message

* Standardize logging of martial arts

* Tweak individual logging panel look

* Fix individual logging panel source

* When I typed || I really meant &&

* Fix Telecomms logging always showing client logs in the panel

* Reverts addition of buggy ownership log to panel

* Remove colon

* Fix missing log_directed_talk tag

* Add warning for missing type in log_direted_talk

* Change warnings to stack_traces

* Add square brackets around fallthrough key_name() case to help parsing

* Allow atom arguments/src in log_*() functions

* Change log_combat call with null argument to log_message

* Change mecha types' log_message() arguments to match atom and mob version

* Add key_name() case for atoms

* Fix resist_grab() unsetting pulledby before log_combat gets a chance to use it

* Fix log_globally logic

* Add logging for hitting objects with items

* Move log_combat() to atoms.dm

* Use utility functions for object stringification in log_combat()

* Use utility functions for object stringification in log_combat()

* Add missing logs for interacting with display cases

* Rewrite log_combat() comment

* Add missing space in log_combat()

* Add logging for hitting grilles barehanded

* Add missing ..()
2018-08-12 20:40:46 +01:00
Ling
d4fbd6c863 Fix errors 2018-08-11 10:32:34 +02:00
Garen Crownguard
03d2dd8da3 Fix AddComponent(target) not working with instanced components (#39484) 2018-08-06 03:08:16 +01:00
oranges
ec58c4648d Merge pull request #39517 from ninjanomnom/remove-kevinz
Removes a couple storage GetComponent calls
2018-08-05 11:03:24 +01:00
bgobandit
907ff148a3 Fixes various small issues with moodlets; adds one for exercise. (#39437)
Adds a slight positive moodlet for working out, the same effect as reading a book

In the process refactors weight machines so they are actually object oriented, this creates map edits to Delta and Pubby as well as one ruin

Changes the message "Nothing special has happened to me" to something that is hopefully less immersion-demolishing.

Moodlet text for eating disgusting food no longer appears in positive green text
    Other various grammar fixes
2018-07-31 00:15:18 +01:00
Emmett Gaines
6eead96183 Refactors create_mob_hud() to add a signal (#39364)
* Refactors create_mob_hud() to add a signal

and make the mood component use it

* Register for the hud element click

* Observe observer safety
2018-07-29 06:46:47 +01:00
Tad Hardesty
5fb15c0c22 [Ready] Communal Resource Storage II (#39118)
add: The vault now contains an ore silo where the station's minerals are stored.
add: The station's ORM, recycling, and the labor camp send materials to the silo via bluespace.
add: Protolathes, techfabs, and circuit imprinters all pull materials from the silo via bluespace.
add: Those with vault access can view mineral logs and pause or remove any machine's access, or add machines with a multitool.
tweak: The ORM's alloy recipes are now available in engineering and science protolathes.
2018-07-28 11:00:49 +02:00
Ling
9a9a5b9f6a Merge pull request #1876 from yogstation13/upstream-merge-39290
[MIRROR] Fixes redirect component transfers
2018-07-27 12:08:48 +02:00
1fbff5f83b23d39d38b1dfcb4cac8d9b
cf94142eea Merge pull request #1894 from daklaj/vehicles-speed-2
Adjust vehicles speed
2018-07-26 21:36:26 +02:00
Emmett Gaines
9b95e48355 Fixes redirect component transfers (#39290) 2018-07-26 19:40:54 +02:00
oranges
a438c8ccba Merge pull request #39306 from ninjanomnom/rad-perf-cleanup
Some performance improvements and cleanup to radiation
2018-07-26 19:33:47 +02:00
daklaj
e88085c1a7 Adjust vehicles speed 2018-07-25 21:14:28 +02:00
Grandmother of 50
872817b70b Mood Code Improvements [Merge-Ready?] (#39075)
fix: having higher sanity is no longer punished by making you enter crit faster
balance: you can have 100 mood instead of 99 before it starts slowly decreasing


Remember higher sanity is BETTER

You want crit_modifier (now crit_threshold) to be LOW so you can stay in fights more (you go into crit at 5hp vs 0hp).

Why: Proc overhead, puts the load on mood, proper abstraction of mood component, values > defines, etc.
2018-07-20 00:32:44 +01:00