Commit Graph

2345 Commits

Author SHA1 Message Date
Alex Evgrashin
8408c1128f Add security barriers (#4458)
* Add sprites

* Lock system now raises lock toggle events

* Add prototype and barrier system

* Toggle lock on click

* Barrier blocks bullets (like a real wall)

* Barrier now destroyable

* Fancy visualzer and lighting. Also unlock by default

* Deleted comma

* Ignored components?

* Update Resources/Prototypes/Entities/Objects/Specific/Security/barrier.yml

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

* Update Resources/Prototypes/Entities/Objects/Specific/Security/barrier.yml

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

* Toggle Lock no longer handled

* Made it much easier to move through airlocks

Co-authored-by: Swept <sweptwastaken@protonmail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-08-23 02:32:24 +10:00
20kdc
cdb0727d78 Fix PA construction crash, make it clear that PA construction needs LV cables (#4506) 2021-08-22 17:50:43 +02:00
metalgearsloth
f472bbab88 Singularity fixes (#4383)
* Singularity fixes

* Fix the rest

* Woops

* ahh

* Nerf singulo for now

* Final touchups for now

* Review
2021-08-23 00:54:03 +10:00
Leon Friedrich
486dc6ca62 Add Alt-click functionality (#4497)
* Fix ItemSlot Bug

* Add Alt-use Key

* Fix TransferAmount window bug

* Alt-click functionality

* Added AltInteract verbs

* Add new verbs

* verb icons

* Changed Comments

* Change Comments

* Fix disposal verbs

* Changed Get...() to Get...OrNull()

* Changed alt-interact combat behaviour

* Update verb icons

* Inventory interact event

* Add Alt+E secondary binding

* Add alt-z keybinding

* Rename AltUse -> AltActivateItemInWorld
2021-08-21 10:20:18 -07:00
Vera Aguilera Puerto
ad5f7bb71b Subscribe TransformComponent events by-ref (#4478) 2021-08-21 11:49:31 +02:00
metalgearsloth
bbbebbadf7 Port the tumbler from Box2D (#4486) 2021-08-21 09:23:01 +02:00
Vera Aguilera Puerto
ea4ce1c6fc Refactors throw events, makes cream pies ECS (#4500) 2021-08-21 09:18:23 +02:00
Swept
ed6988909e Added classic announcement sound to announcements (#4504) 2021-08-21 05:19:39 +00:00
Vera Aguilera Puerto
fd8872cc4e Makes PlaceableSurface ECS 2021-08-20 10:21:39 +02:00
Vera Aguilera Puerto
3610abecbd Makes DiceComponent ECS 2021-08-20 09:51:54 +02:00
Leon Friedrich
fcc7ca09ef Fix H-pulling? (#4425)
In retrospect the answer is easy, but man this took a while.
2021-08-19 22:47:59 -07:00
Swept
8df0766e8d Adds sound to fire extinguisher safety (#4494) 2021-08-20 05:37:16 +00:00
Swept
9d22869e58 Adds a ton more inhands (#4488)
* Removed useless loc and added inhands for some lamps

* Adds a ton of inhands to the game

* Actually adds the pill inhand

* Update Resources/Textures/Objects/Misc/utensils.rsi/meta.json

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>

* Update Resources/Textures/Objects/Tools/rcd.rsi/meta.json

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
2021-08-20 05:36:32 +00:00
Swept
d2edd1712d Removes vending inventory desc and adds missing vending machine descriptions (#4493)
* Removes inventory descriptions

* Adds missing vending machine descriptions using inventory descriptions

* Woops missed a file
2021-08-20 05:23:02 +00:00
Swept
45030b22a3 Adds the ability to assign equip sounds in ClothingComponent (#4485)
* Initial

* Works (Kinda)

* Polish

* Reviews
2021-08-19 21:22:23 -07:00
Swept
1341d63ae0 Adds duck-related content and a seclite (#4489)
* Added rubber ducky

* Adds ducky slippers

* Adds seclite

* Update Resources/Textures/Objects/Tools/seclite.rsi/meta.json

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>

* Update Resources/Textures/Objects/Fun/ducky.rsi/meta.json

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>

* The duck slippers now quack as you walk

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
2021-08-19 16:23:49 -07:00
Vera Aguilera Puerto
555043f997 Improve hand pickup code
This way I can break EntityCoordinates' API without breaking content.
BWAHAHAHAHAH!
2021-08-19 11:14:38 +02:00
ColdAutumnRain
db48f0cc2d Owner Transform to Owner in SoundSystem calls (#4460)
* Owner Transform to Owner

* Owner Transform to Owner minor fixes
2021-08-18 23:36:57 +02:00
Paul
77d7d3c383 am big dumdum pls no shed 2021-08-18 23:22:22 +02:00
Paul
b651ee93d0 Makes Match[sticks/box] ECS, Makes Matchsticks ignite plasma 2021-08-18 23:17:47 +02:00
Swept
ff44b83fd6 Fixes cigarette animations and matches now have lit/unlit inhand sprites (#4480) 2021-08-17 23:26:35 +00:00
ShadowCommander
d908684f09 Remove pillcomponent (#4469)
* Remove PillComponent

* Make food without any solution left delete and create trash

* Replace PillComponent references with a Pill tag

* Clean up

* Add swallow message to food

* Change to eatMessage override

* Change FoodComponent transferAmount to nullable

* Change properties to private
2021-08-17 14:11:07 -07:00
metalgearsloth
d61ff89dfc Fix showatmos 2021-08-17 14:09:59 +10:00
metalgearsloth
dcbb2d2a11 Increase MoverController performance (#4448)
Should be a decent amount; rest will come from removing IActionBlocker.
2021-08-15 14:03:08 +10:00
ShadowCommander
b8e6a996d4 Fix missing sounds (#4466)
* Fix missing sounds

* Make SoundHitSpecies fallback to SoundHit

* Fix crayon YAML

* Update PlaySoundBehavior YAML

* Fix required
2021-08-13 21:31:37 -07:00
Vera Aguilera Puerto
e66982161f Fix tool sounds.
Fixes #4465
2021-08-13 11:05:06 +02:00
metalgearsloth
fe4bf059b9 Completely fix NPC pathfinding
Through rigorous investigation and hard work.
2021-08-12 23:56:34 +10:00
ShadowCommander
46d1e4f06f Fix door sound dampening (#4453) 2021-08-11 20:52:06 -07:00
metalgearsloth
4da74d0ee4 Refactor disposals to ECS (#4418)
* ECS up disposals

Also significantly reduced its CPU usage.

* Make update significantly less S L O W

* Start units pressurised

* Client-side flush lerping

* Fix powered not toggling UI

* Fix flush button

* InteractUsing

* Minor optimisations

* Fix collisions

* Make visual state ECS

* Almost done with shared

* Most stuff moved

* Optimise item sleeping
2021-08-12 13:40:38 +10:00
Swept
0efcbf4061 Crematorium now makes a noise on start and during cremation (#4459) 2021-08-11 19:29:57 -07:00
ShadowCommander
26ebcb4cb8 Fix gas canister 2021-08-10 16:55:12 -07:00
ShadowCommander
0c09d4d7e2 Fix stuff 2021-08-10 16:18:57 -07:00
ShadowCommander
e9f358f56b Fix indentation 2021-08-10 15:39:24 -07:00
ShadowCommander
730c137778 Merge branch 'master' of github.com:space-wizards/space-station-14 into replace-sounds-with-sound-specifier 2021-08-10 15:17:58 -07:00
ShadowCommander
a1db43ab34 Merge branch 'master' into replace-sounds-with-sound-specifier 2021-08-10 15:05:49 -07:00
metalgearsloth
b2322864e9 Remove IActionBlocker.CanMove (#4449)
* Remove IActionBlocker.CanMove

Ported the remainders over to using MovementAttemptEvent which should also help make mob movement a bit faster.

* Make that check faster
2021-08-09 17:34:01 -07:00
Swept
9f64592a40 Fix fixed-point format specifier in PowerCellComponent 2021-08-08 21:43:12 +00:00
Vera Aguilera Puerto
41ddf3d7eb Further pickup animation improvements. 2021-08-06 19:20:27 +02:00
Vera Aguilera Puerto
6bd6b9789a Pointing coordinate fixes. 2021-08-06 18:27:37 +02:00
Vera Aguilera Puerto
0501ae4b89 Fix pickup animation incorrect coordinate usage.
Animation finalPosition was world position, while initialPosition was local position.
2021-08-06 18:11:58 +02:00
Vera Aguilera Puerto
9882f46825 Fix PlaceableSurface incorrect coordinate usage.
It set world position to entity coordinate positions...
2021-08-06 17:52:42 +02:00
mirrorcult
09f5ec5cb8 Fix can't return to body bug (#4424) 2021-08-06 00:02:36 -07:00
Kara D
cf2a1ecd5d remove SetLayerVisibility, doesnt work for some reason 2021-08-05 22:01:24 -07:00
Kara D
9354abb024 reviews + test 2021-08-05 22:01:02 -07:00
Kara D
5af4c06231 construction 2021-08-05 21:10:06 -07:00
Kara D
e460285187 proper sprites + visualizes nicely 2021-08-05 19:43:58 -07:00
Vera Aguilera Puerto
13ceae872b Fixes not taking pressure damage in space.
Fixes #4415
2021-08-04 09:48:49 +02:00
Vera Aguilera Puerto
b7d049a52c Add CVar for random grid offset, disable it by default. 2021-08-04 09:27:22 +02:00
Vera Aguilera Puerto
2205fef06a Document a few atmos classes. 2021-08-03 14:29:56 +02:00
metalgearsloth
af05332b36 Random offset for DefaultGrid every round (#4411)
* Random offset for DefaultGrid every round

This is useful to make coders aware of entitycoordinates and mapcoordinates being different and to help spot problems early. It also puts the onus of fixing positioning bugs back onto the original coder rather than someone else if they happen to spot it.

* Fix clickable test

* Fix entitysystemextensions
2021-08-03 18:49:25 +10:00