Commit Graph

815 Commits

Author SHA1 Message Date
py01
855ba90ce5 Gas canister port sprites (#3009)
Co-authored-by: py01 <pyronetics01@gmail.com>
2021-01-16 20:20:31 +01:00
20kdc
bca0f7b1b0 Singularity Engine: Containment field emitters emit soft light (#3004)
* Singularity Engine: Containment field emitters emit light, making use of soft shadows

* Singularity Engine Containment Emitter Lights: Clean up component dependencies & remove now-useless point light enable check
2021-01-16 20:13:11 +01:00
Vera Aguilera Puerto
6a19dd9f02 You can no longer move a PC entity unless it has a PlayerInputMover (#2987) 2021-01-14 14:24:43 +11:00
py01
1f18dd568a GasFilterComponent (#2935)
* GasFilterComponent

* Client ignore component

* Diff fixes

* diff fix 2

Co-authored-by: py01 <pyronetics01@gmail.com>
2021-01-13 23:15:53 +01:00
Pieter-Jan Briers
052ea49884 Implement magboots. (#2988)
Got an alert and action and everything.
2021-01-11 19:24:09 +01:00
Swept
bfe575b7b6 Random bedsheet spawner. (#2940)
* Initial

* Optimized YAML

* Probbed

* Updates RSIs

* Maps them into dorms.

* A

* Adds descriptions from TG

* Addressed reviews
2021-01-11 18:02:36 +11:00
Ygg01
c01b1d5c05 Add cigarettes and matches to SS14 (#2522)
* Add resources for cigs/matches

* Add files for cigarettes

* Remove Shared Components

* Applied some of the suggestions

* Change priority to allow matches to be set alight by matchbox

* Added item for pack of cigars

* Add swepts resources. Fix naming

* Fix naming, implement suggestions.

* Addressed Paul's suggestions

* Remove unused resources

* Fix Paul's suggestions
2021-01-11 00:17:28 +01:00
Vera Aguilera Puerto
12c733654c Basic gibbing (#2973)
* Adds gibbing

* Adds adminbused absurd-damage foamblade

* Sane parts

* BaseOrgan -> BaseMechanism

* Do not do random offset on shared, fix killing oneself with click attacks

* BaseMechanism -> BaseHumanOrgan -> *stuff*

* Account for prediction, again

* Add gibbing sound
2021-01-10 20:12:34 +01:00
Vera Aguilera Puerto
3157da2db7 Bottles break when thrown and spill their contents on the ground.
Fixes #2918
2021-01-10 16:10:28 +01:00
Alex Evgrashin
7d78f6779f Add flashlights for hardsuit helmets (#2947)
* Fixed engineering hardsuit helmet sprites and add flashlight component

* Add better cell for helmets and setup all engi helmets

* Flashlights for rd and medicals

* Mining and secs helmets

* HoS and syndies

* Wiz hardsuit
2021-01-10 15:29:59 +01:00
Morshu32
7bfdf30268 Add PlaceCentered bool to PlaceableSurfaceComponent (#2771)
* Added bool _placeCentered to check if an entity must be placed at mouse position or center of the PlaceableSurface (+ offset) when dropped.

* private variables formatted to camel case

* Use EqualsApprox in the setter for PositionOffset

* -Changed client-side SurfaceComponent to camelCase
-Added placeCentered and positionOffset to PlaceableSurfaceComponentState
-Getter and setters for placeCentered and positionOffset client-side

* Update Content.Client/GameObjects/Components/PlaceableSurfaceComponent.cs

Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>

* Add "_" to private vars name

* Made YAML properties camelCase

* Add "_" to private vars name

* Call Dirty() when IsPlaceable,PlaceCentered and PositionOffset are changed.

* Removed Dirty() from client.

Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2021-01-10 23:07:33 +11:00
Vera Aguilera Puerto
d81a5faac4 Adds disarm action (#2950)
* Adds disarming

* Disarm acts

* yaml

* much better icon for disarm

* Apply Remie's suggestions, improve code!
2021-01-09 20:31:34 +01:00
ZeWaka
75c4ed6a09 Makes lightbulbs destructible (#2955)
* Renames WindowBreak soundCollection to GlassBreak

* Implements destructible lightbulbs
moved the parent to the top as well

* Fixes the old `glassbreak` soundCollection, renames it

* Deletes the windows.yml version of glassbreak

* Fixes the sound for bulbs being thrown

* Removes name from abstract lightbulb

* Implements IDestroyAct for lightbulbs

* Implements onBreak for lightbulbs

* Lights get damaged by getting hit and throwing

* Lights now have an intermediate 'broken' state before destruction
2021-01-09 02:06:36 +01:00
AJCM-git
76d2729722 Makes FoodBase grindable and deletes duplicates (#2958)
* Makes FoodBase grindable

* forgot this one
2021-01-09 10:30:55 +11:00
py01
b46b890618 Removes half-implemented ConduitLayer from piping (#2957)
Co-authored-by: py01 <pyronetics01@gmail.com>
2021-01-09 10:05:29 +11:00
Swept
429851140a Moves Filled stuff to Catalog/Fills. (#2938)
* Moved boxes

* Toolboxes

* Gas Tanks

* Fixed that last commit

* Large gas tanks shouldn't fit on belts
2021-01-07 17:27:46 +11:00
mirrorcult
7977992e5a Add kitchen knife & sliceable foods (#2891)
* sliceable food, kitchen knives

* sprite fixes, sounds

* add to vendor

* address reviews

* address reviews

* stereo -> mono

* fix wrong amount of nutriment being removed

* oops im dumb

* meta.json

* fix merge

* probably fix test

* remove all instances of [ComponentReference(typeof(IAfterInteract))]

Co-authored-by: cyclowns <cyclowns@protonmail.ch>
2021-01-07 12:48:08 +11:00
Swept
a7c4571075 Fixes Botanist and Mime not spawning with unique backpacks. (#2937)
* Botanist and Mime fixed

* Fixed some unupdated duffels.

* Fix

* I am so goofy
2021-01-07 12:35:57 +11:00
Swept
ff79798c2a Adds SimpleMobBase for NPCs. (#2932)
* Initial

* Initial2

* Abstraction
2021-01-07 11:25:06 +11:00
py01
2d1fe31bce SolutionContainerComponent refactors (#2746)
* Moves ContainsReagent from SolutionContainer to Solution

* GetMajorReagentId from SOlutionContainer to Solution

* Makes capability checks use HasFlag

* Moves Solution Color calculation from SolutionContainer to Solution

* Replaces SolutionContainerCaps.NoExamine with CanExamine

* Misc SolutionContainer.Capabilities yaml cleanup

* Removes HasFlag usage in SolutionContainerComponent

Co-authored-by: py01 <pyronetics01@gmail.com>
2021-01-06 13:31:41 +01:00
cyclowns
258ae55441 mobmask -> passable (#2916)
Co-authored-by: cyclowns <cyclowns@protonmail.ch>
2021-01-06 13:06:09 +11:00
Swept
e99d497b54 Increase PDA box capacity (#2924) 2021-01-06 12:58:56 +11:00
SweptWasTaken
1f333c45fd Initial 2021-01-05 13:33:33 -08:00
Swept
18fd5a6e41 Fixes multitool sprite. (#2921)
* Sprites

* YAML
2021-01-05 21:32:37 +11:00
Swept
196e6d2f45 Plays rustle sound when inserting or opening a backpack. (#2890)
* SoundCollection

* Works

* Applied review

* Waah

* Working

* e

* Adjust sound collection serialization

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2021-01-05 16:34:53 +11:00
Swept
4430164073 Adds unique equips for syndie duffels. (#2867)
* Initial

* Woops c/p slipup

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-01-05 16:22:31 +11:00
Swept
350f7313be Replaces medical scanner sprite. (#2870)
* Initial

* Let's go

* Updates the pods meta.json cause I can
2021-01-05 02:10:24 +01:00
Vera Aguilera Puerto
9c2aaef73a Makes accept cloning message use Eui (#2910) 2021-01-03 17:20:17 +01:00
Vera Aguilera Puerto
85add420b0 Destructible spawning fix redux (#2892)
* Fix SpawnEntitiesBehavior crash and add test

* Fix comparer, add duplicated behavior

Turns out this isn't Java

* Threshold behaviors are now "linearly" executed

* Fixes YAML threshold behaviors to be linear

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2021-01-02 20:06:00 +01:00
Daniel Castro Razo
cc4669244d Fixes to explosionhelper (#2819)
* Revert "Make handheld explosives affect tiles (#2806)"

This reverts commit 005e142949.

* Fixes tiles being destroyed under walls by an explosion

* Extra imports removed

* Handles explosion in space and different grids

This handle explosions across different grids, and tiles are still protected if there is an entity airtight and currently blocking air on top of them that survived the explosion.

* Some bug fixes

- The way tiles were being protected was silly.
- Big explosions cause a lot of objects to trigger multiple events and at the same time they are destroyed.
- Explosions spawning inside containers like closets work now.

* Range bug fixes

* Explosive

The explosion works even if the entity exploding is inside multiple 'layers' of containers like.
bomb -> survival box -> tool box -> closet

* Explosions are different now

Explosion can't jump over walls now.
Explosions work like rays now, if an explosion breaks a wall it can scatter inside the room.
If entities are behind impassable entities that survive the blast  they are left unscathed.

* Little fix

* Remove the extra lookup of tiles

* Another small change

* Restore the second lookup

I thought this was extra, but this protects the tile under it if there is an Impassable entity on top. None wants anchored girders on top of lattice/space

* Changing order of conditions

IsBlockedTurf is cheaper to run than InRangeUnobstructed.

* Yep
2021-01-02 19:03:10 +01:00
Swept
cd9e5a590b Fixes remaining renamed chems (#2889) 2021-01-02 18:05:32 +11:00
Swept
63a7d2d433 Fixes gar glasses. (#2869)
* Initial

* Fixes inhands

* A

* Oh yeah and they slice real good too
2021-01-02 14:54:30 +11:00
Swept
a111349351 Organizes the reagents/reactions YAML. (#2885)
* Fixes chemical IDs from being FUCKING FUCK GUVK

* All done

* Updated the chem dispenser
2021-01-02 13:34:44 +11:00
DmitriyRubetskoy
625d7aefa3 Animal flavor text (#2796)
* Added flavortext to all animals currently in the game

* intelligence

* Different butterfly flavortext

* Small corrections

* Periouds

* Goat changed to something of a biological fact

* Misspellings fixed

* Update Resources/Prototypes/Entities/Mobs/NPCs/animals.yml

Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>

* Update Resources/Prototypes/Entities/Mobs/NPCs/animals.yml

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

Co-authored-by: BlueberryShortcake <rubetskoy234@mail.ru>
Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-01-01 18:27:31 +01:00
Vera Aguilera Puerto
4316e2f554 Recycler improvements, add RecyclableComponent as a tag. (#2882)
* Recycler improvements, add RecyclableComponent as a tag.

* nullableeeeeeeeeeee
2021-01-01 18:19:12 +01:00
Vera Aguilera Puerto
d43ca2877a Ghost on mind shutdown fixes, no more ghost stacking at bar.
Fixes #1701
2021-01-01 16:11:17 +01:00
Vera Aguilera Puerto
b5fd2ffd6d Recycler improvements, add RecyclableComponent as a tag. 2021-01-01 15:28:58 +01:00
Daniel Castro Razo
633ae5bc90 Fixes Emergency Lights not charging (#2873)
* Fixes Emergency Lights not charging

* Removed extra imports
2021-01-01 14:26:42 +01:00
Vera Aguilera Puerto
483f7f4385 You can now examine Node Containers to see their "connectors" (#2881) 2021-01-02 00:20:23 +11:00
Swept
9af508e0b5 Satchel and Duffelbag of Holding. (#2866)
* Duffel of Holding

* Satchel of Holding

* Added equipped sprites for both syn duffel variants

* Moved syndie stuff to another PR
2021-01-01 14:16:08 +01:00
Swept
78fdd64a43 Fixes replacement light boxes/crates. (#2853)
* Fixes mixed lights box

* Fixed replacement lights crate
2020-12-27 19:42:13 +11:00
Swept
7790f8f6f6 Adds hugbox. (#2826)
* Box and sprites

* Added to clowns fills
2020-12-27 19:24:08 +11:00
Swept
d595286dcc Tweaks volume of material per sheet in lathes. (#2852)
* Initial

* Tidies up file structure
2020-12-27 19:22:50 +11:00
AJCM-git
b554480a42 fixing bounding box (#2849) 2020-12-27 18:54:34 +11:00
moonheart08
bf57038eac carpets are no longer intangible (#2851) 2020-12-27 18:53:59 +11:00
AJCM-git
a91638f6cb Various fixes to monkey cubes (#2844) 2020-12-27 01:02:35 +01:00
metalgearsloth
24d1c967b6 Airlock icon smoothing (#2789)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-12-26 19:24:03 +11:00
20kdc
0063d30a85 Make Carps and Mimics clickable so they can be remover-gun'd (#2820) 2020-12-24 11:51:07 +11:00
DrSmugleaf
764465f60c Separate destructible component threshold into behaviors (#2818)
* WIP changes, add behaviors

* Fix behavior typing, namespace and test

* NO SPACES
2020-12-23 13:34:57 +01:00
Swept
c3a6d0c597 Add belt slots for several items 2020-12-23 16:32:42 +11:00