* add lawsets for the xenoborgs and mothership core
* add xenoborg names
* add xenoborg radio
* add xenoborg device frequency
* add xenoborg access
* add xenoborg contraband
* Update Resources/Locale/en-US/station-laws/laws.ftl
Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com>
* add xenoborg access to the universal Id card and universal access config
* remove 6th law of xenoborg and mothership lawset (got jointed into the 5th law)
* added xenoborg and mothership law boards
* add more names
* add Xenoborg faction
* moved all lawboards into a separate yml file
* removed custom xenoborg contraband severity
* add Xenoborg and Mothership components
* add xenoborg laser guns
* add self recharging fire extinguisher
* add mothership pinpointer
* add material bag
* add infinite jetpack
* add a only blue energy dagger
* add xenoborg jammer
* add refueling welding tool
* add nocturine hypo
* add nuclear small power cell
* add cloaking device
* add xenoborg door remote
* add custom sprites for xenoborg modules
* add custom sprites for xenoborg module actions
* removed Xenoborg Comp until is actually needed
* add xenoborg module tags
* spelling
* add xenoborg module bases
* organazied xenoborg modules sprites better
* add generic xenoborg modules
* add heavy xenoborg modules
* add engi xenoborg modules
* small fix to meta file in actions_borg.rsi
* renamed mothership comp to XenoborgMothership
* fixed the base for the xenoborg engi modules
* add scout xenoborg modules
* add stealth xenoborg modules
* localization for names and descriptions of the xenoborg modules
* fixed issues related to the XenoborgMothership component
* revert localization (it wasn't working for some reason)
* fixes
* fixed issue with container slot in the cloaking device
* Update description of small capacity nuclear power cell
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
* Fix indentation in material bag
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
* Spelling
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
* fix parameter order in some prototypes
* rename proto id InfiniteJetpack to JetpackXenoborg
* localize pinpointer targets
* Revert "localize pinpointer targets"
doesn't work
* added lines in the end of files (and in the middle of one)
* reorder paramenter in some entities
* fixed some descriptions
* minor fixes
---------
Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
* feat: node scanner now auto-updates artifact details if in range
* refactor: minor cleanup
* refactor: optimization for update and query of range checking
* refactor: fix xml-doc
---------
Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru>
* Add ENERGYWATTHOURS() loc function
Takes in joules (energy), displays as watt-hours.
* Add simple OnOffButton control
* Re-add Inset style class
This was sloppily removed at some point?? Whatever, I need it.
* Add helper functions for setting title/guidebook IDs on FancyWindow
Reagent dispenser uses these, more in the next commits.
* Add BuiPredictionState helper
This enables me to implement coarse prediction manually in the battery UI.
Basically it's a local buffer of predicted inputs that can easily be replayed against future BUI states from the server.
* Add input coalescing infrastructure
I ran into the following problem: Robust's Slider control absolutely *spams* input events, to such a degree that it actually causes issues for the networking layer if directly passed through. For something like a slider, we just need to send the most recent value.
There is no good way for us to handle this in the control itself, as it *really* needs to happen in PreEngine. For simplicity reasons (for BUIs) I came to the conclusion it's best if it's there, as it's *before* any new states from the server can be applied. We can't just do this in Update() or something on the control as the timing just doesn't line up.
I made a content system, BuiPreTickUpdateSystem, that runs in the ModRunLevel.PreEngine phase to achieve this. It runs a method on a new IBuiPreTickUpdate interface on all open BUIs. They can then implement their own coalescing logic.
In the simplest case, this coalescing logic can just be "save the last value, and if we have any new value since the last update, send an input event." This is what the new InputCoalescer<T> type is for.
Adding new coalescing logic should be possible in the future, of course. It's all just small helpers.
* Battery interface
This adds a proper interface to batteries (SMES/substation). Players can turn IO on and off, and they can change charge and discharge rate. There's also a ton of numbers and stuff. It looks great.
This actually enables charge and discharge rates to be changed for these devices. The settings for both have been set between 5kW and 150kW.
* Oops, forgot to remove these style class defs.
* Added inhand visuals to (most) ammo magazines and speedloaders
* whoops mixed up a single inhand on the rifle mag
* Didn't realize rubber ammo got removed.
* added attributions
* adjusted inhand visuals to account for magazine types
* missed one :eye:👁️
---------
Co-authored-by: EmoGarbage404 <retron404@gmail.com>
* Parcel Wrap
* fix TG sprite licenses
update attribution on modified `unwrapped` sprite to better conform to CC's guidance
* ContainerContainer test failure fix
* Just easy changes for now.
* Imagine building your code before pushing it for review
* The rest of the PR comments
* PR comments
* more comments + cargo orderability
* whitespace: deduplicated.
* use limitedcharges
replace mostly-duped client/server with if(onserver)
* cabinet perspective sprites
* web edit detected
fite me
* @ps3moira 's new sprites for me :)
* add a touch of attribution
* EmoGarbage Review
* Merge with master
* Merge with master
---------
Co-authored-by: EmoGarbage404 <retron404@gmail.com>