Commit Graph

83 Commits

Author SHA1 Message Date
DrSmugleaf
9bcf67753a Replace string data fields with LocId where relevant (#20883) 2023-10-10 23:06:24 -04:00
deltanedas
f747bfe5fc Add navmap beacon to armed nukes (#20394) 2023-09-23 11:15:05 -08:00
metalgearsloth
5a0fc68be2 Content update for NetEntities (#18935) 2023-09-11 09:42:41 +10:00
deltanedas
04cd014179 nuke lights code change (#19315)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-09-04 17:14:10 +03:00
Visne
b88c2cbb49 Remove usages of obsolete MetaDataComponent setters (#19582) 2023-08-28 19:20:31 +10:00
Alekshhh
cf8dfbca06 Reduce nuke detonation volume (#19430)
Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
2023-08-26 00:41:07 -07:00
DrSmugleaf
a88e747a0b Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
Vasilis
55e9a2f117 Nuke detonation sound effect is global again (#19077) 2023-08-13 23:55:50 -04:00
eoineoineoin
4ccc8a04be Improve paper stamping experience (#17135) 2023-08-13 14:28:10 -04:00
Pieter-Jan Briers
9124c60db2 Fix assert when arming the nuke (#18891)
Apparently trying to anchor an entity twice throws an assert!
2023-08-08 22:16:41 -07:00
Vordenburg
7d08061304 Make anchoring nukes require enough nearby floor (#18720)
* Make anchoring nukes require enough nearby floor

* Remove unused Anchorable event subscriptions

The nuke doesn't have Anchorable so this never comes up.
2023-08-05 16:28:06 -05:00
faint
104b6527c9 Nuke codes paper stamp fix (#18488) 2023-07-31 16:45:36 +03:00
deltanedas
3bdfcbe56d nuke minor refactor and fixes (#18100)
* minor nuke refactor, no longer require disk to toggle anchor

* file scope

* fix unanchored prototype

* normal nuke reanchor pro

* somehow fixed everything pro

* !

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-07-17 13:37:33 -06:00
TemporalOroboros
3ac4cf85db Cleaner BoundUserInterfaces (#17736) 2023-07-09 02:02:17 +10:00
Ben
c858c76341 Anchorable shared (#17422)
Co-authored-by: BenOwnby <ownbyb@appstate.edu>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-06-29 22:35:54 +10:00
deltanedas
ab4dd10904 fix nuke when arming off station (#16702)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-05-25 19:13:21 +10:00
Moony
e92a8fedab Refactor stations to properly use entity prototypes. (stationsv3) (#16570)
* Update StationSpawningSystem.cs

Web-edit to allow feeding in an existing entity.

* Update StationSpawningSystem.cs

value type moment

* Update StationSpawningSystem.cs

* Oh goddamnit this is a refactor now.

* awawawa

* aaaaaaaaaaa

* ee

* forgot records.

* no records? no records.

* What's in a name?

* Sloth forcing me to do the refactor properly smh.

* e

* optional evac in test.

* tests pls work

* awa

---------

Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
2023-05-19 15:45:09 -05:00
pofitlo
447f08b10a add new music for nuke (#15035) 2023-04-29 18:57:59 +10:00
Leon Friedrich
19277a2276 More DoAfter Changes (#14609)
* DoAfters

* Compact Clone()

* Fix mice and cuffables

* Try generalize attempt events

* moves climbabledoafter event to shared, fixes issue with climbable target

* Fix merge (cuffing)

* Make all events netserializable

* handful of doafter events moved

* moves the rest of the events to their respective shared folders

* Changes all mentions of server doafter to shared

* stop stripping cancellation

* fix merge errors

* draw paused doafters

* handle unpausing

* missing netserializable ref

* removes break on stun reference

* removes cuffing state reference

* Fix tools

* Fix door prying.

* Fix construction

* Fix dumping

* Fix wielding assert

* fix rev

* Fix test

* more test fixes

---------

Co-authored-by: keronshb <keronshb@live.com>
2023-04-02 21:13:48 -04:00
Nemanja
930d097616 NukeOps start with either station codes or their codes (#14025)
* NukeOps start with all nuke codes

* make it pick a random code

* clarify this
2023-03-26 11:58:57 -05:00
metalgearsloth
427e5c95ca Add autocomplete to nukearm (#14819) 2023-03-24 13:50:49 +11:00
keronshb
9ebb452a3c DoAfter Refactor (#13225)
Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
2023-02-25 01:01:25 +01:00
eoineoineoin
bda5f8248f Improve Paper UI, allow an to entity configure how it's UI looks (#13494)
Co-authored-by: Eoin Mcloughlin <helloworld@eoinrul.es>
2023-01-17 19:32:46 +11:00
Jezithyr
eeb5b17b34 Mobstate Refactor (#13389)
Refactors mobstate and moves mob health thresholds to their own component

Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
2023-01-13 16:57:10 -08:00
Morb
6835ab0a04 Fax stamps (#13010)
* Change captain fax suffix

* Add stamps transmit

* Remove proto dependency

* Add centcom fax address for nuke codes

* Remove centcom address resolve

* Remove centcom id
2022-12-19 21:44:15 -06:00
keronshb
3327c2998f Adds Special Respawn, spawns a new disk if the old one was deleted (#12762)
* Spawns a new disk if one was deleted

* Adds tiledef to space checks, also adds a way to randomly check for a respawn point on station

* Removes unused method

* Cuts down on tile checks needed by checking surrounding tiles first

* Fixes up an issue where the coords wouldn't spawn

* Removes disk system, adds special respawning system and comp

* Fixes spelling error

* Fixes linter issue

* Maybe fixes the linter with a ref event?

* Empty commit to rerun tests

* Maybe fix?

* check for deleted grid

* Moves shutdown code to terminating code

* Customtypeseralizer

* changes name of datafield

* Removes owning station references

* Trying the queue event again
2022-12-19 20:38:34 -06:00
Leon Friedrich
881a2b2ece PopupSystem public methods rejig (#12830) 2022-12-19 08:41:47 +11:00
Morb
dbba104eab Fax Machine (#11704) 2022-12-12 05:06:11 +11:00
Flipp Syder
ad64d0330c Fix nuke command exception, add autocomplete (#11828)
* fix nuke command exception, add autocomplete

* caches entity manager
2022-10-11 16:35:34 +11:00
Flipp Syder
8838f8be24 Gives all nuclear bombs unique codes (#11665)
Co-authored-by: Kara <lunarautomaton6@gmail.com>
2022-10-09 12:28:08 -07:00
Flipp Syder
ffbd0085bc Nukie win conditions (#10220)
Co-authored-by: Kara <lunarautomaton6@gmail.com>
2022-09-14 12:42:19 +10:00
Visne
58769634c7 Fix a bunch of compiler warnings (#10518) 2022-08-13 22:28:34 -07:00
Kara
5784c248ac Nuke anchor fixes + cargo sell blacklist (#10286) 2022-08-03 20:01:14 -07:00
Leon Friedrich
c7ad6b709e Audio System Rejig (#9635) 2022-07-29 12:13:12 +10:00
Moony
a2d26ac0ca The nuke must be anchored to arm. (#9898) 2022-07-19 20:57:05 -07:00
Morber
efb17f1e98 Nuke ops war anounce sound (#9035) 2022-07-15 02:16:41 -07:00
Kara
81a6f16591 More nukie tweaks (#9618) 2022-07-11 02:29:51 -05:00
Kara
50fc190f7f Visual popup addendum (#9570) 2022-07-09 02:32:06 -07:00
Kara
dc28b58468 Visual popup types (#9523)
* Visual popup types

* Pass over `PopupCoordinates` and `PopupCursor`

* `PopupEntity` pass

* Disease and reagent popup pass

* COLOUR
2022-07-09 04:09:52 -05:00
Flipp Syder
07c622429a Adds station filter for alert level change sound (#9533) 2022-07-08 19:25:35 +10:00
metalgearsloth
2e7543402b Make nukie arm sounds entity based (#9484) 2022-07-06 18:52:46 +10:00
Kara
d8b2886f71 Makes the nuke keypad play a nonatonic scale (#9431) 2022-07-05 02:24:37 -05:00
Kara
69871ef73a Experimental nukie changes (#9428) 2022-07-04 23:49:19 -07:00
ike709
0b86e0e953 Event Music & Nuke Countdown Song (#8597)
Co-authored-by: ike709 <ike709@github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-07-04 16:29:38 +10:00
metalgearsloth
20f4c9988b Fix station announcements (#9380)
* Fix station announcements

Doesn't just get what's on the grid. Also made it generic so other systems can use a station filter.

* bumped

* a
2022-07-04 16:00:51 +10:00
metalgearsloth
3da454140d Add department-specific radio channels (#9061)
* Add department-specific radio channels

This commit adds working department-specific radio channels, while
minimizing damage to the current codebase. It is expected that a future
refactor will clean this up a bit.

ChatSystem now has a RadioPrefix() method that recognizes
department-specific channels (e.g. ":e" and ":m") in addition to the
global channel (";"). It strips the prefix from the message and assigns
messages an integer representing the destination channel, if any.

IListen and IRadio now accept optional 'channel' arguments with this
channel in mind.

The ugly is that the integer channel number is hard-coded and also shows
up in chat.

Comms are not modeled at this time. You cannot break comms (yet).

All headsets have channels soldered into them. You cannot change
encryption keys to hop on new channels. Steal a headset instead.

* Remove debugging print

* Convert to prototypes

* Use prototype names in headset prototype

* Adjust list style

* Document prototype fields

* cringe

* some cleanup

* colours

* Remove alphas at least

* cc

Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
2022-06-23 20:11:03 +10:00
keronshb
f7b1bda3e5 Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +10:00
Pieter-Jan Briers
a323ba8223 Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704) 2022-06-07 15:26:28 +02:00
Pieter-Jan Briers
cecf87997b Revert "Fix some friend access violations by allowing others access. (#8594) (#8703) 2022-06-07 13:44:31 +02:00
Vera Aguilera Puerto
c5f7c61041 Fix some friend access violations by allowing others access. (#8594)
Rename Friend attribute to Access attribute.
Updates submodule to v0.21.0.0 as well.
2022-06-07 11:30:27 +02:00