Commit Graph

36638 Commits

Author SHA1 Message Date
CC-4477 cbf3357c13
Added "mm" to boxes.yml into .45mm ammo containers (#739)
Co-authored-by: Check your git settings! <chris@chris-laptop>
2020-02-25 22:36:49 +01:00
Pieter-Jan Briers cad06813a8
Notify message on changing state of InjectorComponent 2020-02-24 17:40:24 +01:00
Pieter-Jan Briers 58ab7631c2
Give every job their fancy ID types. 2020-02-24 16:58:25 +01:00
Injazz 15fa417a4f
Explosion now throws affected entities, fixes probability/severi… (#732)
* throwforce and probability fixes for explosions

Applies force to all affected by explosion entities with ItemComponent
Fixes probability issues with explosion related callbacks

* dependency fix, throw helper

* delete TODO

Co-authored-by: gituhabu <48828502+gituhabu@users.noreply.github.com>
2020-02-24 03:52:15 +01:00
Víctor Aguilera Puerto 090dd8cee8
ControlMob verb and command (#724)
* ControlMob verb and command, mobs have MindComponent by default

* Use IActorComponent instead of MindComponent for User entity.
Fixes using Control Mob while aghosting/visiting an entity.

* Use static Loc class
2020-02-24 03:49:40 +01:00
Pieter-Jan Briers 8a5e879633
Glass airlocks actually let light through. 2020-02-24 01:55:44 +01:00
moneyl 1b7860aeda
Add injectors + injected reagent metabolism via BloodstreamCompo… (#730)
* Add BloodstreamComponent and BloodstreamSystem

New component for metabolizing reagents that other organs like the stomach pass their input reagents to.

* Change StomachComponent to put ingested reagents in bloodstream after delay

Now StomachComponent does not metabolize any reagents. Instead, it tracks how long each reagent has been inside it, and once they pass "digestionDelay" they'll be put inside the bloodstream, where the bloodstream will handle metabolism of the reagent.

* Add reagent injectors

Injects reagents straight into the bloodstream when used on mobs with bloodstreams. Also allows draw/inject from beakers. Does not support drawing blood/reagents from the bloodstream yet.

* Address code review

Make use of `Loc` static class instead of using `ILocalizationManager`. Localize InjectorToggleMode enum properly.
2020-02-24 01:47:33 +01:00
Pieter-Jan Briers d8291ed9c4
Shadow & FOV stuff (#735)
* Content fixes for shadow/occluder stuff.

* Observers don't have FOV.

* Update submodule
2020-02-23 17:30:45 +01:00
Pieter-Jan Briers bc5ad7c322
Submodule update to fix PVS 2020-02-23 17:16:57 +01:00
Pieter-Jan Briers cbec463e5c
PVS Time 2020-02-23 14:50:53 +01:00
metalgearsloth 847acd6401
Fix gun sprites and names (#734)
Addresses #606

Sprites fixed so no short versions used (for now) and some of the extra states were removed (clarissa).

When I originally PR'd pascal case wasn't the decided name so I also updated the IDs.
2020-02-23 14:44:15 +01:00
moneyl 5ccdc0751a
Register more console commands for admins and mods (#683)
* Register more console commands for admins and mods

* Add host role with roles we don't want admins to have

Excluded shutdown since I dunno if the watchdog will restart the server if we do that, and really restart and restartround should work for our purposes. Exluded rmgrid since it still crashes no matter how you use it.

* Add group command to admin role

Doesn't actually work anywhere except the server console but admins should have it once it does to list their current group.

* Give admin group addai
2020-02-23 00:47:11 +01:00
ShadowCommander 6fbeb16b31
Refactor ChatBox to use HistoryLineEdit (#728)
* Refactor ChatBox to use HistoryLineEdit

* Clean up ChatBox variable localize
2020-02-23 00:44:35 +01:00
CC-4477 2c49aaa93f
Added items to products.yml and corresponding crates to crate_ty… (#725)
* Added fire_extinguisher, light_bulb, pen, bike_horn, light_bulb, and cleaver to crate_types.yml and products.yml.

* Added fuel tank, medical scanner, glass stack, and cable stack to products.yml, and corresponding values to crate_types.yml.

Co-authored-by: Check your git settings! <chris@chris-laptop>
2020-02-23 00:42:51 +01:00
Injazz 2ec4ee2ca7
Replacing Github Wiki links with HackMD ones (#729)
* Change wiki links for HackMD links

Since we use HackMD now for documentation

* Delete any mention of GitHub Wiki

just let it die
2020-02-23 00:40:41 +01:00
ShadowCommander a3e61a77db
Implement StorageFillComponent (#726) 2020-02-23 00:40:09 +01:00
py01 ad4dd335b8
Sound for burning your hand on a powered light (#733) 2020-02-23 00:39:00 +01:00
4dplanner b0e3ab3393
MovementSpeedModifierComponent (#721)
* movement modifier system

* update default exposedata values

* changing base speed marks as dirty

* formatting

* movement speed modifier component

* Moves slowdown component to the prototype

AIController respects slowdown

* reset dirty flag
2020-02-23 00:37:56 +01:00
Rohesie ffe55648b6
BaseTurfs (#699)
* tweaks

* Baseturfs

* dotnet messages

* indentation

* comment

* Change requests

* Smaller diff

* Diff
2020-02-23 00:30:36 +01:00
Víctor Aguilera Puerto 4f397e1ce2
Fix warnings (#723) 2020-02-23 00:28:50 +01:00
Pieter-Jan Briers 0640a2dcbd
Merge branches '20-02-22-eventbus-submodule' and 'eventbus' 2020-02-22 20:03:53 +01:00
Pieter-Jan Briers 31e1721bbe
Update submodule 2020-02-22 20:03:41 +01:00
Acruid ee6eec9c40 SubscribeEvent() has been split into SubscribeNetworkEvent() and SubscribeLocalEvent() methods on EntitySystem.
Most methods on EntityEventBus now require callers to specify the source (Local or Network) of the events.
2020-02-19 17:08:59 -08:00
Acruid e719745b10 Removed the Sender object from events. If you needed this field, add it to the event class. 2020-02-19 14:39:00 -08:00
Pieter-Jan Briers 37b0ce9a8c
Occluders is a word. 2020-02-19 16:41:52 +01:00
Acruid c51533686b Updates the Content EntitySystems with the changes to the event API.
Visual Studio wants to update the version of the solution, and change some GUIDs around.
2020-02-18 19:43:54 -08:00
Pieter-Jan Briers ffd06df700
Some weird DotSettings migrations thing. 2020-02-17 11:36:18 +01:00
Pieter-Jan Briers 08fcbdf271
Populate tutorial window key binds with proper key names. 2020-02-17 11:29:52 +01:00
Pieter-Jan Briers 011ac0fd7d
Fix inverted triangle path on Linux.
@ShadowCommander you messed up the casing on the file path.
2020-02-17 11:29:19 +01:00
Pieter-Jan Briers cd8025b87e
Merge branches '20-02-17-upd' and 'triangle' 2020-02-17 11:19:15 +01:00
Pieter-Jan Briers 065d0e49bf
Update submodule 2020-02-17 11:16:50 +01:00
ShadowCommander aa16cd42bf Change inverted_triangle.svg to px 2020-02-16 23:42:43 -08:00
moneyl 5f030cdf93
Improve addai error handling and help message (#708)
* Improve addai error handling and help message

Fix client crash from giving addai an invalid processorId argument and improved it's help message to describe each parameter.

* Only IoC resolve when addai is run

Makes the code simpler. No need to cache it since it's going to be run so infrequently.
2020-02-17 00:21:15 +01:00
micheel665 987a39c25e
Added a button to add entities to storage items (#709) 2020-02-17 00:19:35 +01:00
py01 b2b8021d9b
Adds rsi sprites for bureaucracy items, fixes pen and paper spri… (#711) 2020-02-17 00:16:06 +01:00
Víctor Aguilera Puerto 70c41f63b0
Adds InRangeUnobstructed method to InteractionSystem (#698)
* You cannot pickup items across walls, or pickup items when dead/in crit.

* Adds InRangeUnobstructed method to InteractionSystem.
Changes HandsSystem and ItemComponent to use it.
2020-02-16 23:04:06 +01:00
ShadowCommander 983d626ce4 Fix Styling 2020-02-14 18:05:35 -08:00
Pieter-Jan Briers c7a171cf14
Revert "add Robust.Serializer dep to Content.Shared"
This reverts commit a8f84c4b8c.
2020-02-15 02:33:52 +01:00
Pieter-Jan Briers 8f4834b1d8
Revert "add integration test for serializer"
This reverts commit 0e286ad808.
2020-02-15 02:33:37 +01:00
Tyler Young 0e286ad808
add integration test for serializer 2020-02-15 01:48:49 +01:00
Tyler Young a8f84c4b8c
add Robust.Serializer dep to Content.Shared 2020-02-15 01:48:48 +01:00
ShadowCommander 92030c6724 Update NanoStyle for refactored Button and CheckBox 2020-02-14 04:18:14 -08:00
ShadowCommander 718bf0edc3 Update Button references 2020-02-14 04:17:07 -08:00
Profane McBane 9e368b336f
Let stacks specify if they get thrown as one item, or individual… (#679) 2020-02-13 23:43:02 +01:00
Pieter-Jan Briers 7f9d2f9dbf
Fix ClientStatusEffectsComponent breaking after re-attaching to mob.
Fixes #689
2020-02-13 23:18:53 +01:00
Soundwavesghost aa37c0121a
Fill vending machines (#648) 2020-02-13 17:58:19 +01:00
Qustinnus de094ddacc
Fixes the direction humans turn to when throwing something (#686)
* Fixes the direction humans turn to when throwing something

* shorter
2020-02-13 16:21:29 +01:00
Víctor Aguilera Puerto 934f6fb7e2
Add OnDamaged method to IOnDamageBehavior (#685)
* Add OnDamaged method to IOnDamageBehavior

* Adds Source, SourceMob to OnDamage.
2020-02-13 15:57:40 +01:00
ShadowCommander 3292939756
Unset FocusChat when returning to main menu (#691)
Fixes #403
2020-02-13 15:14:03 +01:00
Daniel Thompson b4b0f6e04b
Adds config options for diagonal movement (#684)
* Adds config options for diagonal movement

* Addresses comment
2020-02-13 15:10:09 +01:00