Commit Graph

3113 Commits

Author SHA1 Message Date
zionnBE
14b0a6eae4 Add admin teleport button (#2435)
Co-authored-by: zionnBE <zionn@tfwno.gf>
2020-10-30 01:05:49 +01:00
DrSmugleaf
cb0937c8b6 Add pulling rotating the pulled entity (#2449) 2020-10-30 01:05:28 +01:00
DrSmugleaf
a2de32d4c4 Make CloningSystem properly reset and not use static (#2448) 2020-10-30 01:05:18 +01:00
Swept
75c6ba7e01 Maps morgue, botany and cloning for Saltern (#2444)
* Initial

* Initial

* Fixes bartender's shotgun

* Fixed
2020-10-30 01:05:01 +01:00
Víctor Aguilera Puerto
a5b138058a Update submodule. 2020-10-30 00:53:39 +01:00
Peter Wedder
bd4f2b41df Prettier window breaking (#2368)
* Put the damage in the windows

* add crack overlays

* Window cracking

* glass related sounds

* let's use a valid state

* run optipng on these for posterity

* Examine damage descriptions

* add "Constructible" to dictionary

* Downmix stereo effects to mono

* breaking and knocking

* Add shard etc. sprites

* shard inhands

* more sprite wrangling

* Expand destructiblecomponent drop system + implement it for windows

* Shard descriptions

* Random sprite component

* no nullbabby

* Random destroysounds

* random offset on destructible drops

* fix fucked yaml

* sound collections

* random pitch for knocking

* Localization

* hascomponent

* better spawnondestroy

* missed one
2020-10-29 20:42:11 +01:00
Peter Wedder
68078e626a Reorganize hat and helmet sprites with lights on them (#2362) 2020-10-29 19:31:11 +01:00
Peter Wedder
fca556a1c1 Adds sized (S, M, L) power cells and a generic component for battery powered items (#2352)
* Refactor battery/powercell assets and add new ones.

* committing before I fuck things up

* slot component doned I think

* dictionary update

* Fixes

* Moving flashlight to powerslotcomponent

* har har i am using the message tubes

* Better documentation comment

* Reverting this overengineered garbage.

* Off with ye I said

* Examine texts.

* Some minor fixes to IDE complaints

* slot size from yaml

* Ignored component + removing a useless typo entry

* Making stunbatons use this

* Handle the message and remove some unnecessary dirtiness

* actionblocker checks

* remove unused file

* remove updatevisual

* make these nullable

* make these nullable too

* Unrename sprite folder

* check itemcomponent on insertion

* Use SendMessage over Owner.SendMessage

* Add support for auto-recharging batteries, an auto-recharging cell, and make flashlight status update correctly if one is inserted in it.

* get rid of public fields which are Bad

* add a description for the stun baton while i'm in here

* one more public field

* Add the blinky animation to the atomic cell

* Fix the charge indicator being STUPID

* better comments

* this is a better function

* add pause for flashlight, remove unnecessary imports from battery

* potato battery copyright link

* WHO DID THAT

* mr clean has come

* Random pitch

* pausing

* round to nearest levels
2020-10-29 19:17:03 +01:00
DrSmugleaf
60bee860cb Add a test for rejuvenating dead entities (#2433) 2020-10-29 14:11:11 +01:00
20kdc
20d60ed5d0 Add meat spike accepting humans, names meat after the source (#2390)
* Add Butcherable component to humans.

...What?

* Meat from a meat spike is now named after the source

Note: This doesn't propagate to burgers (add a component maybe)
2020-10-29 13:42:25 +01:00
Víctor Aguilera Puerto
90742247e1 Fix structure instruments' failing InRangeUnobstructed check 2020-10-29 12:22:56 +01:00
20kdc
1ec3e53f8c Fill lockers with stuff (#2427)
* Fill lockers with stuff (see detail)

+ atmos/engineer/ce hardsuits, breath masks and oxygen tanks
+ chef can actually get meat
+ fix janitor closet misorganization
+ medical/medical doctor randomly can get latex gloves (they don't DO anything but they don't have to r/n)
+ detective gets pen & 3 paper

* Filled "Detective locker" no longer contains stuff
2020-10-29 11:21:38 +01:00
DrSmugleaf
ec25dbe4a7 Fix mobs playing a falling sound when dying from crit (#2425)
* Fix falling sound playing twice when dying

* But actually
2020-10-29 20:26:23 +11:00
DrSmugleaf
650e7385b9 Make InRangeUnoccluded methods consistent (#2420)
* Make InRangeUnoccluded methods consistent

* we live in a null society
2020-10-29 19:55:27 +11:00
DrSmugleaf
f6fbe41e7c Fix conveyors changing speed depending on the tick rate (#2424) 2020-10-29 19:53:31 +11:00
Remie Richards
cc6acae145 Mortician's Menagerie (#2391)
* Body bags!

* Morgue Trays and the Crematorium!
Reorganised body bags to be under Morgue, not Medical

* Fix. Things outside of EntityStorageComponents now use the Try*Storage() not just *Storage() methods - Allows mobs to be trapped in a morgue/crematorium whose tray can't open.

* Fix tests. Modernise component dependency and nullability.

* Update Content.Server/GameObjects/Components/Morgue/MorgueTrayComponent.cs

Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2020-10-28 23:51:43 +01:00
Paul Ritter
6a0aa9b72f Singularity, Particle Accelerator & Radiation Collectors (#2169)
* basic radiation generator

* might need this

* thonk

* big thonk

* oop

* e

* werks

* sprite

* oopsy woopsy

* radiation

* clean up file

* makes it work, probably

* minor fixes

* resources

* progress on component

* this will no longer be necessary

* radiation go brrrr

* finally fix container issues

* out var

Co-authored-by: Remie Richards <remierichards@gmail.com>

* second out fix

* another out fix

Co-authored-by: Remie Richards <remierichards@gmail.com>

* switch case

* fix switch

* sound and improvements

* nullable

* basic containment field system

* ensure alignment

* fix beam placement logic

* field generation fully working

* fix potential crash

* working containment functionality

* extremely basic emitter functionality

* fix radiation panel naming

* emitter stuff

* oopsies

* fixes

* some fixes

* cleanup

* small fix and move emitter file

* add sprite resources for PA

* slight rework of the singulo
adds rads

* pushing for smugleaf :)

* added radiationpanels

* some fixes for the singulo

* containmentfield

* pa wip

* progress

* pa working

* emitter fix

* works :)

* ui works

* some work on ui & pa

* progress

* ui work & misc fixes

* GREYSCALE

* pa ui polish
containmentfieldgen rework

* singulo rework
added snapgrid

* getcomponent get out

* singulo rework
added collisiongroups underplating & passable

* yaml work:
- collision boxes
- singulo now unshaded

* no unlit

* misc changes

* pa wires

* add usability check

* nullable enable

* minor fix

* power need added

* reenables containment field energy drain
menu close button
singularity collider fix

* sprite replacement

* finished singulo pulling

* pjb fixes

* fixing sprites & minor adjustments

* decrease containmentfield power

* some yml adjustments

* unlit layers
singulogenerator

* singulogen

* everything works just not the powergetting on the pa
i wanna die

* Adds PA construction graphs, PA construction works

* Snap to grid parts when completing construction

* updated to newest master

* inb4 i work on power

* fixes upstream merge
adds power need to particleaccelerator

* properly implements power & apc power

* Emitters are now fancy.

* I have actually no idea how this happened.

* Give PA a wiring LayoutId

* PA is an acronym

* indicators
fixes hacking

* Singulo is a word you blasphemous IDE.

* Rewrite the PA.

* Fancy names for PA parts.

* Wiring fixes, strength wire cutting.

* fixes projectile & ignores components

* nullability errors

* fixes integration tests

Co-authored-by: unusualcrow <unusualcrow@protonmail.com>
Co-authored-by: L.E.D <10257081+unusualcrow@users.noreply.github.com>
Co-authored-by: Remie Richards <remierichards@gmail.com>
Co-authored-by: Víctor Aguilera Puerto <zddm@outlook.es>
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2020-10-28 19:19:47 +01:00
DrSmugleaf
74fe2609f5 Add InRangeUnoccluded verb (#2421) 2020-10-29 01:03:21 +11:00
F77F
9b751fc079 Add weightlessness status effect. (#2384)
* Add weightlessness status effect.

* remove system, add new action

* Update Content.Shared/GameObjects/Components/Mobs/SharedWeightlessStatusComponent.cs

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

* Update Content.Shared/GameObjects/Components/Mobs/SharedWeightlessStatusComponent.cs

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

* Update Content.Shared/GameObjects/Components/Movement/MovementIgnoreGravityComponent.cs

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

* Update Content.Shared/GameObjects/Components/Movement/MovementIgnoreGravityComponent.cs

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

* fix paul's typo. does not run.

* add client side component

* move logic to eventbus

* remove client/server components and clean up code

* remove useless component, revert human.yml changes.

Co-authored-by: scuffedjays <yetanotherscuffed@gmail.com>
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
2020-10-29 00:52:39 +11:00
Víctor Aguilera Puerto
cec3eca896 Make power generators anchored by default. 2020-10-28 13:50:42 +01:00
Víctor Aguilera Puerto
1f031ae842 Add extensions to EntityPrototype 2020-10-28 13:50:28 +01:00
DrSmugleaf
04cf4d4a20 Fix ignoreInsideBlocker not working correctly for inRangeUnobstructed and inRangeUnoccluded (#2417)
* Fix ignoreInsideBlocker not working correctly for range checks

* Other way around
2020-10-28 13:04:29 +01:00
RemberBL
03d85cea1d Resolve bug that made players unable to buckle after forced to unbuckle (#2418) 2020-10-28 13:04:20 +01:00
DrSmugleaf
f785ec4efb Add pulling taking up a hand (#2405)
* Add pulling taking up a hand

* Revert unnecessary refactor
2020-10-28 10:16:40 +01:00
DrSmugleaf
10dc201704 Make pulled mobs not collide with other mobs (#2406) 2020-10-28 10:12:46 +01:00
DrSmugleaf
18572ed3f3 Fix pulling distance being too short (#2407) 2020-10-28 10:11:48 +01:00
DrSmugleaf
c2301b08e0 Make popup messages track the source entity (#2414)
* Make popup messages track the source entity

* Fix jitteryness when popping a message up on the player
2020-10-28 10:10:45 +01:00
Víctor Aguilera Puerto
cda34e9d6f Rejuvenate now sets your damage state to Alive. 2020-10-28 10:08:09 +01:00
Víctor Aguilera Puerto
a1c6d08b87 Add round reset cleanup for PlantSystem
It now repopulates the entire seed database.
2020-10-27 22:17:56 +01:00
Víctor Aguilera Puerto
d8d0889807 Fix power integration test 2020-10-27 21:35:58 +01:00
Peter Wedder
b81b8612b6 Add Botanist, Warden, Quartermaster and Chaplain (#2402)
* Add Botanist, Warden and Quartermaster

* QM ID card, warden sprite state

* Add missing sprites

* Chaplain + some fixes

* typo fix

* capitalization

* copyrihgght

* add spawnpoints
2020-10-27 21:28:39 +01:00
Swept
9b5950e380 Updates a bunch of entities physics yaml. (#2404)
* Initial

* Reverts firelocks
2020-10-27 21:15:54 +01:00
Víctor Aguilera Puerto
870d052354 Gas tanks and masks (#2409)
Co-authored-by: a.rudenko <creadth@gmail.com>
Co-authored-by: creadth <creadth@users.noreply.github.com>
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2020-10-27 20:53:44 +01:00
Víctor Aguilera Puerto
329926b175 Update submodule. 2020-10-27 20:23:32 +01:00
Peter Wedder
f04818437d Fix scientist's locker sprite (#2401) 2020-10-27 00:35:19 +01:00
Víctor Aguilera Puerto
5364d4ec1f Ignore seed prototype on the client. 2020-10-27 00:10:38 +01:00
Swept
077b5d1a4e Adds botany stuff to IgnoredComponents.cs and fixes Science locker ID. (#2400) 2020-10-27 00:08:29 +01:00
Peter Wedder
2c18a6788a Fix reinforced table HP (#2399) 2020-10-26 23:37:44 +01:00
Peter Wedder
e62f66e692 Access lock lockers and add some more access types (#2389)
* access lock lockers and add some more access

* Forgot something
2020-10-26 23:32:55 +01:00
Víctor Aguilera Puerto
484eb0bba4 Botany (#2357)
* plants and seeds go brrrr

* update plants

* P L A N T

* brrrr

* Hydroponics actually work! How about that?

* Reuse resource path in visualizer

* They lied to us.

* Several stuffs

* more werk

* Add a bunch of plants

* Logs go brr.

* Brrr moment.

* Remove unused method

* Important comment.

* Seed inventory, yo!

* tomato moment

* Balance consumption

* Makes hydroponics pourable

* Adds plant metabolism effect for sugar, the same as glucose.

* Eggplant moment

* Apple moment

* Corn moment

* Chanterelle mushroom moment

* prototype tweaks

* Seed extractor moment

* typo

* IPlantMetabolizable doc improvement

* I should trust my gut instinct more often.

* egg-plant.....

* localization

* Make WaterLevel and NutritionLevel setters private

* Less code repetition! Wooo!
2020-10-26 23:19:46 +01:00
Peter Wedder
7c57d10531 Implement PDA ID lights (#2397)
* add PDA id light (yaml changes pending)

* the rest of the owl

* Do it better
2020-10-26 19:35:20 +01:00
DrSmugleaf
7dcaa1ff88 Fix being able to pull multiple entities at once (#2398) 2020-10-26 18:15:19 +01:00
Víctor Aguilera Puerto
847ff6dd34 Update submodule. 2020-10-26 16:30:38 +01:00
Peter Wedder
790c7666c7 Rebind throw to shift-q (#2388) 2020-10-26 14:08:04 +01:00
DrSmugleaf
70867d88cc Today I join Zumorica in leaving behind our crimes against humanity (#2396) 2020-10-26 12:11:46 +01:00
DrSmugleaf
ebe8a82033 Add commands to show and hide organs inside bodies (#2292)
* Add seeing entities through containers and on the context menu and 4 commands

* Remove unused imports
2020-10-26 12:11:32 +01:00
metalgearsloth
8a2e0ed142 Refactor pauses (#2215)
* Refactor pauses

* The last of the physics

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-10-26 12:07:11 +01:00
Git-Nivrak
47c88c294b Disable Pulling When Buckling an entity (#2374)
* Disable Pulling When Buckling an entity

* Update Content.Server/GameObjects/Components/Buckle/BuckleComponent.cs

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

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2020-10-26 12:00:28 +01:00
DrSmugleaf
30bfed8978 Add attach to self, grid and grandparent debug verbs (#2395)
* Add parenttoself, attachtogrid and attachtograndparent verbs

* Remove body system changes

* Name consistency
2020-10-26 11:31:27 +01:00
Ygg01
9838a994b9 Fix various description and description related fields (#2386)
* Added descriptions

* Fix punctuation in various .yml files

* Update Resources/Prototypes/Catalog/VendingMachines/seeds.yml

Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2020-10-26 10:45:23 +01:00