Commit Graph

1862 Commits

Author SHA1 Message Date
Jack Edge
054647c382 Refactors container_type into reagents.flags 2018-12-18 13:47:11 +00:00
Qustinnus
9d28bd7244 Crushes some Ethereal bugs and adds bloodbags for them (#41745)
cl Floyd / Qustinnus
add: Bloodbags for ethereal filled with liquid electricity
fix: Ethereals cant clone lightbulbs anymore
fix: Fixes runtime in Ethereal charge handling
/cl
2018-12-09 23:09:24 +13:00
coiax
4b799f7c88 Powered broken lights occasionally emit sparks (#41660)
* Powered broken lights occasionally emit sparks

* Less demanding

* SECONDS define

* Slower and defines
2018-12-02 09:40:03 -05:00
Qustinnus
b9f5dbac6b Adds a new race: Ethereal (also adds wrappers for nutrition adjustment) (#40995)
cl Qustinnus / Floyd / Ethereal sprites by Space, is that it? / Alerts and food sprites by MrDroppodBringer
add: Adds Ethereal; a race which lives off of electricity and shines bright. If they are healthy they shine a bright green light, and the more damaged they are, the less they shine and the greyer they become. Their punches do burn damage and they are weak to blunt attacks!
They dont need to eat normal food and dont have nutrition, Instead they gain charge by going into borg rechargers, eating ethereal food or doign specific interactions.
refactor: all nutrition changes now go through a proc so we can override behavior
/cl

Adds Ethereal. A race which is essentialy inspired by Zoltan but then with different mechanics to make it fit with SS13 more. I'm trying to stay away from making them actually provide power but the change from nutrition to electricity seemed kind of fun.

They have the following specifications:

    They are walking lights; and shine bright and green if healthy, and get greyer and darker the more damaged they are. When dead they are just a grey unlit corpse.
    They do burn punch damage instead of blunt.
    They are weaker to blunt; especially when low on charge
    They have charge instead of nutrition. Charge is gained by some interactions or by going into a borg charger. or eating new ethereal food.
    They are slightly stronger to shock damage, and gain charge from it a bit; however, it is still deadly to them and thus they aren't free insulated gloves.
2018-11-29 10:09:56 +13:00
Barhandar
c49064bf62 Makes magboots effective in preventing gravitational movement effects, fixes magboots not working for singularity pull, eases the chainstun effect of overcharged supermatter (#41583)
* I'm through accepting limits 'cuz someone says they're so

* Some things I cannot change but till I try, I'll never know!

* Too long I've been afraid of losing love I guess I've lost

* Well, if that's love it comes at much too high a cost!

* I'd sooner buy

* DEFYING GRAVITY

* Kiss me goodbye, I'm defying gravity

* I think I'll try

* DEFYING GRAVITY

* And you won't bring me down

* Unlimited
2018-11-22 18:38:49 -05:00
Jordan Brown
2e227d11ee Merge pull request #41602 from swindly/word_crimes
Fixes more word crimes
2018-11-21 09:44:00 -05:00
swindly
4bcd3cdc55 fixes word crimes 2018-11-19 17:56:59 -05:00
ShizCalev
e4a4f95942 Fixes autonaming APCs not supporting areastring 2018-11-17 04:03:09 -05:00
4dplanner
c84a92f4ce Passes thrownthing to hitby (#41411)
* Passes thrownthing to hitby

* Items now also pass thrownthing

* No longer uses default arguments

Also fixes bananium shield

* Adds more arguments to hitby calls

* Standardises throw_impact

* Clears up some loose ends

* Adds back wacky comment

* Reinstates can_push=FALSE on bananium shield
2018-11-15 10:25:04 +01:00
oranges
6e040e51b4 Merge pull request #41459 from ShizCalev/error-data-corruption
Fixes a bunch of missing symbols
2018-11-14 22:16:51 +13:00
ShizCalev
ceae7b3d5f Restores supermatter shard stun (#41417) 2018-11-13 01:34:51 -05:00
ShizCalev
214eae8d82 Fixes a bunch of missing symbols 2018-11-12 19:05:02 -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
ShizCalev
60133f90ab Fixes gibs not being passed mob DNA (#41374)
* Fixes gibs not being passed mob DNA

* Cleanup, fixed map-placed gib spawners having no DNA
2018-11-10 14:24:12 -05:00
81Denton
c511c7fde1 [Ready] Machinery shows part upgrade stats (#40920)
cl Denton
tweak: Most upgradeable machines now show their upgrade status when examined while standing right next to them.
tweak: Added examine messages to teleporter stations that hint at their multitool/wirecutter interactions.
tweak: Renamed teleporter stations from station to teleporter station.
code: Changed the teleporter hub accurate var to accuracy; the old name misled people into thinking that it was a boolean.
/cl

Machines don't really give players feedback about upgrades, aside from machines like the cloner where new functions are unlocked. I'm adding examine descriptions that should help with this:
2018-11-04 14:50:38 +13:00
skoglol
b943c2f3f6 Adds load and excess to multitool power readout. (#41219)
* Adds load and excess to multitool power readout.

* removes a src.

Co-Authored-By: kriskog <33292112+kriskog@users.noreply.github.com>
2018-10-31 14:30:49 -04:00
Kierany9
be0e1113fa [s] This PR brings shame to my family (#41193)
* I HAD ONE JOB

* ONE GODDAMN JOB
2018-10-28 23:23:28 -04:00
Kierany9
ba68905e49 Modifies the electrocution damage cap and scaling (#41103)
* zippity

* zappity

* brainlet
2018-10-27 13:01:19 -04:00
Seagleb
88d3942339 Fixes Supermatter Shard being hidden behind objects (#41107)
* Fixes Supermatter Shard hiding behind objects.

* Fixes Supermatter Shard hiding behind objects.

* Adds define for Supermatter Shard Layer

* added define for Shard layer

* Used default above mob layer define instead
2018-10-25 17:14:36 -04: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
kevinz000
3e7184c975 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-11 11:22:21 +13:00
vuonojenmustaturska
a287380797 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 14:28:28 +02:00
81Denton
acfe2a2c01 [Ready] Light bulbs shatter and hurt players when stepped on, spill plasma if rigged (#40625)
* v1

* Fixes code, lights spill plasma if rigged

* Yeah let's not do that
2018-10-05 02:10:47 -04:00
ShizCalev
1c3fe23e7e Adds icon for underpowered emitters (#40629) 2018-10-03 17:57:26 +03:00
ShizCalev
7cd395eb02 Fixes pacman power output not using displaypower (#40644) 2018-10-03 13:14:25 +03:00
Emmett Gaines
940cd92824 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-03 10:05:09 +13:00
ShizCalev
06049ceae8 Fix new lights not respecting nightshift status (#40617) 2018-10-01 17:15:27 -07:00
ShizCalev
b7739a4a23 Standardizes bomb logging (#40474)
Fixes #39976

A good number of things were missing various parts of the logging (going to GLOB.bombers, not going to client logs, not logging to game, ect), or doing incorrect things like passing admin verbs to saved logs.

Unified all the necessary actions under a single proc log_bomber() which handles everything in most use cases. This way the log isn't all jumbled up with inconsistent messages, everything's one format so you can quickly find what you need to bwoink the right person.
2018-10-01 15:03:00 +13:00
ShizCalev
2fa1ac1349 Replaces istypes with the proper tool_behaviour checks. (#40414) 2018-10-01 03:10:31 +03:00
Emmett Gaines
31914a594e 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 18:23:27 +12:00
yoyobatty
480d02a1da Port particle accelerator attack_hand to ui_interact (#40370)
This has been bothering me for a while now.
2018-09-24 13:31:16 -07:00
Iamgoofball
f735a7d34d [READY][PAID CODE] economy PR (#40312)
With the power of CAPITALISM AND ECONOMY, you too could be This Guy.
2018-09-23 02:50:51 -04:00
ShizCalev
7ba9a5e1d4 Fix APC & Air Alarm interface not refreshing properly (#40401) 2018-09-22 21:09:52 -07:00
kevinz000
9eec1f8db2 Adds move force and move resist, movement/pushing/pulling tweaks (#39556)
* Removes anchroed from mobs, adds move force/resist

* Move force and move resist

* WIP, still has debug messages.

* Fixes

* Update living.dm

* Anchored removal

* Stuff

* Unit tests

* Removes anchored from dview

* DME

* Update anchored_mobs.dm

* Fix

* No ghost spacewind

* Update mulebot.dm

* Update temporary_visual.dm

* Update forcefields.dm

* Update step_triggers.dm

* Update portals.dm

* Update alien_acid.dm

* Update bump_teleporter.dm

* Update landmarks.dm

* Update countdown.dm

* Update blessing.dm

* Update shieldgen.dm

* Update containment_field.dm

* Update field_generator.dm

* Update singularity.dm

* Update atmosmachinery.dm

* Update door.dm

* Update gravitygenerator.dm

* Update door.dm

* Update effects.dm

* Update temporary_visual.dm

* Update bump_teleporter.dm

* Update forcefields.dm

* Update landmarks.dm

* Update portals.dm

* Fixes

* Throwforce annnd done, finally

* Fixes

* Haha I'm dumb sometimes
2018-09-15 05:08:30 -04: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
Denton
53342e8fc9 Stops light bulbs from burning heat resistant hands 2018-09-10 21:36:27 +02:00
ShizCalev
8a7df8ba45 Makes usage of Nar-Sie consistent (#40029)
cl ShizCalev
spellcheck: Nar-Sie's name has been revised to Nar'Sie.
/cl
2018-09-08 13:31:09 +12:00
skoglol
6c7d97e52f SMES can no longer output to nowhere. (#40106)
* SMES can no longer output to nowhere, removed duplicate proc used in input.

* Forgot an else.

* TRUE and FALSE.

* add_avail() now returns true when appropriate.
2018-09-07 13:02:59 +02:00
ShizCalev
98a6b39cca Clean up mixed space & tab usage (#40121) 2018-09-05 22:51:20 -07:00
octareenroon91
646d23e05f Add fingeprintslast to Consume(/obj) (#40059)
Log ckey when an object smacks into a supermatter crystal.
2018-09-04 00:41:57 +03:00
tralezab
6a1b807a9c telekinesis now works on the singularity, tesla, and tear in the fabric singularity. tweaks interaction to using tk on supermatter. (#39694)
honestly? i'm a little hurt nobody else did this when @XDTM made the great suggestion. There are a few problems with the tear in the fabric interaction, hoping a maintainer can help out
2018-08-30 20:01:28 +12: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
Patrick Chieppe
2c8248575a 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 21:41:09 +02:00
Tad Hardesty
fe30e9ab03 Fix the power flow control console (#39580) 2018-08-08 21:02:09 +03:00
Time-Green
3f8dbf2b0b Emitter gun mounts (#39367)
* different guns can be inserted into emitters

* fixes portal gun runtime

* You can now switch type through wires

* makes one line more readable

* Fixes being able to grab nodrop guns from emitters
2018-08-01 09:12:45 +02: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
McBawbaggings
63e26aa950 removes redundant code 2018-07-27 13:14:22 +01:00