Commit Graph

1862 Commits

Author SHA1 Message Date
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
81Denton
448bce4bda [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 07:09:27 +01:00
ShizCalev
c9b6338345 Fixes pacman power output not using displaypower (#40644) 2018-10-03 18:20:38 +02:00
ShizCalev
dedc18bd89 Adds icon for underpowered emitters (#40629) 2018-10-03 15:56:00 +01: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
Ling
74ab201b44 Merge pull request #2781 from yogstation13/upstream-merge-40617
[MIRROR] Fixes new lights not respecting nightshift status
2018-10-02 20:46:25 +02:00
Ling
6f4009c0fd Merge pull request #2738 from thehighwayman/crystalAlertLog
game logs for crystal delammination alerts
2018-10-02 20:39:32 +02:00
ShizCalev
ee5ffd31b5 Fix new lights not respecting nightshift status (#40617) 2018-10-02 01:13:59 +01:00
Thehighwayman
106ad219d0 Added some colons 2018-10-01 06:05:34 -05:00
Liam Quesada
4e67689448 Make it much clearer that its the supermatter 2018-10-01 05:46:47 -05:00
Liam Quesada
4a32330f41 says SM: with the 5 second countdown 2018-10-01 05:29:34 -05:00
Ling
b93a83e829 Merge pull request #2776 from yogstation13/upstream-merge-40474
[MIRROR] Standardizes bomb logging
2018-10-01 11:08:36 +02:00
Liam Quesada
1b5450995e Modularize 2018-10-01 04:07:08 -05:00
ShizCalev
949c1f89df 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 09:17:12 +01:00
ShizCalev
5a29dc43e3 Replaces istypes with the proper tool_behaviour checks. (#40414) 2018-10-01 01:10:45 +01:00
Thehighwayman
9eb396be9f Gives game logs of the supermatter alerts that sound when the crystal loses integrity 2018-09-28 10:03:55 -05:00
Ling
4fd1b2e0c4 Merge pull request #2681 from yogstation13/upstream-merge-40433
[MIRROR] Componentizes orbiting
2018-09-26 18:54:58 +02:00
ShizCalev
588da0e9ee Fix APC & Air Alarm interface not refreshing properly (#40401) 2018-09-25 18:50:10 +02:00
yoyobatty
067ef6a87e Port particle accelerator attack_hand to ui_interact (#40370)
This has been bothering me for a while now.
2018-09-25 09:08:02 +01: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
Iamgoofball
428a033e39 [READY][PAID CODE] economy PR (#40312)
With the power of CAPITALISM AND ECONOMY, you too could be This Guy.
2018-09-23 10:45:14 +01:00
1fbff5f83b23d39d38b1dfcb4cac8d9b
a6a3456a60 Merge pull request #2561 from yogstation13/upstream-merge-39556
[MIRROR] Adds move force and move resist, movement/pushing/pulling tweaks
2018-09-16 02:51:58 +02:00
skoglol
32c1e8d056 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-15 21:58:39 +01:00
kevinz000
bb5cca1893 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 21:58:05 +01:00
Jordan Brown
e020484482 Merge pull request #40219 from 81Denton/mr-hands
Stops light bulbs from burning heat resistant hands
2018-09-12 15:11:28 +01:00
1fbff5f83b23d39d38b1dfcb4cac8d9b
a6978c3930 Merge pull request #2479 from yogstation13/upstream-merge-40106
[MIRROR] SMES can no longer output to nowhere.
2018-09-08 14:20:54 +02:00
skoglol
edeb08d5d1 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 12:02:33 +01:00
ShizCalev
ffefab25f4 Clean up mixed space & tab usage (#40121) 2018-09-07 11:40:31 +01:00
octareenroon91
5e0e13dcef Add fingeprintslast to Consume(/obj) (#40059)
Log ckey when an object smacks into a supermatter crystal.
2018-09-03 22:41:12 +01:00
1fbff5f83b23d39d38b1dfcb4cac8d9b
53f3f0987a Merge pull request #2381 from yogstation13/upstream-merge-39694
[MIRROR] telekinesis now works on the singularity, tesla, and tear in the fabric singularity. tweaks interaction to using tk on supermatter.
2018-08-30 19:24:04 +02:00
tralezab
84e613e89c 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 09:01:09 +01:00
Emmett Gaines
455fd9e7d1 Standardized vis_contents overlay system + better computer glow (#39973) 2018-08-30 01:21:46 +01:00
81Denton
04e1354399 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 16:30:47 +01:00
Garen Crownguard
f2cd8a131d screwdriver_act signal (#39877) 2018-08-27 10:56:40 +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
a14fa82c47 Merge pull request #2104 from 1fbff5f83b23d39d38b1dfcb4cac8d9b/supermatter-pull-request-closed
Makes supermatter not knock you over if you have magboots
2018-08-10 23:28:11 +02:00
Joe Schmoe
2340e1c536 Grammer 2018-08-10 13:00:12 +02:00
Joe Schmoe
43fda251bb I've fallen and can't get up 2018-08-09 00:07:39 +02:00
Tad Hardesty
4df1d1baa3 Fix the power flow control console (#39580) 2018-08-08 19:02:16 +01:00
1fbff5f83b23d39d38b1dfcb4cac8d9b
addd0bbccf Update supermatter.dm 2018-08-08 00:32:42 +02:00
1fbff5f83b23d39d38b1dfcb4cac8d9b
ca1ac7c99e Update supermatter.dm 2018-08-08 00:31:23 +02:00
Time-Green
135857a098 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 08:12:24 +01:00
81Denton
62f7e24028 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-30 03:41:44 +01:00
Jordan Brown
83fa64d0ee Merge pull request #39400 from McBawbaggings/yoyoSMESfix
Fixes SMES terminals and connection issues (PR by YoYoBatty)
2018-07-29 00:51:06 +01:00
Ling
1eec808a9c Merge pull request #1755 from yogstation13/upstream-merge-39132
[MIRROR] Stops various machines from processing needlessly
2018-07-16 18:35:53 +02:00
vuonojenmustaturska
47e7cd7f61 Stops various machines from processing needlessly (#39132)
* Stops lighting from processing needlessly

* showers too

* space heaters

* broken/unpowered vending machines

* fucken status displays

* rechargers
2018-07-16 16:32:44 +02:00
ShizCalev
3d38c52453 Fixes SM-megafauna server crash exploit (#39124) 2018-07-16 16:25:00 +02:00
Jordan Brown
c394b64a14 Merge pull request #39080 from 81Denton/machine-frame-tesla
Blacklists machine frames from tesla zaps
2018-07-13 23:23:32 +01:00
AnturK
d5fe6279fb Removes grab-buckle shortcuts from power machinery (#39007) 2018-07-10 19:52:48 +01:00