Commit Graph

427 Commits

Author SHA1 Message Date
Selis
8c0f6e4b94 Health & Damage 2023-09-13 00:43:05 +02:00
Killian
b6c6b0eb9c more smartvendor buttons 2023-09-06 17:27:10 +01:00
Heroman
71e124718e Adds food vore 2023-08-22 20:12:24 +10:00
Heroman
8316351409 More borg fixes post-testing 2023-08-10 14:16:49 +10:00
Runa Dacino
6d2511c996 adds: ability to make automated staff request in fax TGUI
Adds a new jsx element to the login screen when using fax machines, a button in the top right corner which when pushed calls the request_roles() verb, and thus initiates the auto fax dialogue for the player.

This element has a tooltip to explain what it does when hovered.

Furthermore, for when EITHER the fax machine has an ID && logged in, BUT no paper is inserted OR paper is inserted && target destination is part of admin_departments (centcom, job board, supply) - it displays a blurb about automated staff requests with some semi-IC, semi-OOC text and the same button.

adds a new general functionality to LoginScreen.js

Adds a new JSX element to the LoginScreen file that takes machine type as its prop and returns a per-machine relevant element. This is needed for the fax functionality, and already has it defined.
2023-08-04 16:25:38 +02:00
Runa Dacino
a72016aad5 adds: Ability to set mob ai to "MobSpawner"
Adds new interface element to the "Mobspawner"
- AI Settings Section (besides position settings)
- -  Button to toggle custom/default AI values
- -  Button to select predefined AI types
- -  Button to sanitized text input ANY faction
- -  Button to select predefined attack intents
- -  All above buttons default to the mob's type definition, unless unsafe, then they instead use hardcoded defaults
2023-07-30 11:48:04 +02:00
dependabot[bot]
0ca238b28b Bump word-wrap from 1.2.3 to 1.2.4 in /tgui
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 22:59:31 +00:00
Runa Dacino
c42048e083 fix(TGUI): Fixes Communicator Weather app gibberish
fixes https://github.com/VOREStation/VOREStation/issues/15093
2023-07-17 16:05:26 +02:00
Runa Dacino
f2670e82a2 fix(TGUI): Fixes linebreaks in PDA med/sec records
Fixes https://github.com/VOREStation/VOREStation/issues/15149
2023-07-17 15:29:39 +02:00
dependabot[bot]
c902b0b804 Bump semver from 5.7.1 to 5.7.2 in /tgui
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 02:50:59 +00:00
dependabot[bot]
306b140bff Bump tough-cookie from 4.0.0 to 4.1.3 in /tgui
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-09 14:41:08 +00:00
Runa Dacino
040ba1c3a5 fix(TGUI): Reverts changes to modal.js
Modal.js had a VOREStation-specific change to allow it to handle text input/the enter key.
This was removed in commit ( 4b7873210a )

This change reverts that change, re-adding the logic for enter/keydown.

Fixes ( https://github.com/VOREStation/VOREStation/issues/14982 )
2023-06-21 11:52:38 +02:00
Heroman
b801e4d6c7 Adds ability for multi-colored colorable belly overlays to exist, adds one using it 2023-06-17 16:31:24 +10:00
Runa Dacino
dcbeb37aba fix/tweal(tgui): Fixes air alarm showing "None" for nitrogen
*Bug: tgui checked for "nitrogen" when gas id was n2
  *Fix: changed nitrogen's GASES entry to "nitrogen
  *Tweak: Extend logic to create two search strings: string 1 sets all char values to lower case, string 2 sets each word's first character to Be Capitalized. We check all lowercase against ids, and we check Capitalized Words against names.
  *Testing: Added tests for underscore (id) and wrong case (all low without underscore)
2023-06-15 12:50:14 +02:00
Runa Dacino
03a26b4663 FIX (tgui): Modifies number input .tsx to accept floats
RestrictedInput was updated to require a new prop, "allowFloats" during the TGUI Update.
In DM, to my understanding, we don't care about int vs floats.
Where we do want to enforce integer values,
tgui_input_number(round_value) already exists.

Therefore, setting the allowFloats prop in RestrictedInput to True should be more than fine for numberinputModal.
2023-06-12 21:20:37 +02:00
Runa Dacino
5cb3dc43b6 Tweaks Dogborg Vorebelly overlay
* Adds updateicon() call to belly transfers
* Rebundles tgui.bundle.js
* Adds four new bellyobj vars:
  * visible_belly_minimum_prey
  * overlay_min_prey_size
  * override_min_prey_size
  * override_min_prey_num
* Adds extended overlay logic to robot updateicon() for dogborgs
  * If belly contents lower than minimum_prey, dont show anything
  * Otherwise, if min_prey_size 0, show regardless
  * Otherwise, only show if prey size_multiplier greater than min size
  * However, if override_min_prey_size is true, check LAZYLEN(belly.content)
  * If this list's length is greater than override_min_prey_num, show belly overlay regardless of prey size
* Extends vorepanel_vr, belly_obj_vr and vorepanel.js with the necessary code to enable the above
2023-06-10 16:33:42 +02:00
Runa Dacino
8ce7a5979a Merge branch 'master' into dogborgbelly 2023-06-10 10:13:38 +02:00
Runa Dacino
db3b23005c Repackages tgui.bundle.js to resolve merge conflict 2023-06-09 10:01:50 +02:00
Runa Dacino
f46af8ba0d Merge branch 'master' into entity_narration_TGUI 2023-06-09 09:58:35 +02:00
Runa Dacino
f2efe267ac Adds per-belly option to vorepanel for switching between sleeper/belly
* New option per vorebelly that silicons may use to choose between overlay type
* If picking sleeper, it works as it currently did.
* If picking vorebelly, it gives them sleeper/analyzer/etc belly overlay if their belly's contents are >= 1
* Consequently adds a new belly_obj var to track this
* Adds user.updateicon() call to perform_the_nom() to trigger belly overlay update
* Edits robot_vr's updateicon() to contain logic for sleeper vs vorebelly pref
* For now uses sleeper_r overlay since it exists for ALL icon_states
* Ideally either me or someone I enslave creates sleeper_o overlay using orange colours where relevant. However, rather not delay implementation for this
2023-06-09 00:29:41 +02:00
Runa Dacino
4a6e92cee9 Rebundles tgui to fix merge conflict 2023-06-08 20:03:23 +02:00
Runa Dacino
a84bf44cdc Merge branch 'master' into fixtguiupdatetraittutorial 2023-06-08 19:59:44 +02:00
Runa Dacino
b616cea1f7 TraitTutorial: Fixes spacing issues from TGUI update 2023-06-08 19:47:28 +02:00
ItsSelis
2f1e9cbbc7 removed unused import 2023-06-07 16:05:56 +02:00
ItsSelis
186c284277 Mob Spawner improvements 2023-06-07 15:18:53 +02:00
ItsSelis
3012035878 tgui no yell 2023-06-07 00:49:10 +02:00
ItsSelis
10d2178516 More 515 Compatibility 2023-06-05 19:29:40 +02:00
Runa Dacino
ae92270cc2 Extends entity narrate functionality with TGUI
*Adds all the necessary procs for TGUI functionality as backend
*Creates EntityNarrate.tsx
*Extends entity_narrate datum with helper vars for TGUI
*TGUI window now allows:
* * Multi Selection
* * Single Selection
* * It shows details if single
* * It shows how many if multi
* * Allows picking between subtle/loud
* * Allows picking between talk/emote
* * Allows sending messages every 0.5 seconds
* * Uses new textbox feature to make editing and tracking narration easy!
2023-06-05 17:25:14 +02:00
ItsSelis
5332ea9192 Fixes crash date & Crew monitoring console 2023-06-04 18:52:35 +02:00
ItsSelis
fe14ca05c8 Fixed CameraConsole for NTOS 2023-06-04 18:04:37 +02:00
ItsSelis
c800447524 MiningVendor fix 2023-06-04 16:39:04 +02:00
ItsSelis
5e543fc101 Secondary Hotfix 2023-06-04 15:05:00 +02:00
ItsSelis
de1942481d Interface Hotfix 2023-06-04 14:12:05 +02:00
ItsSelis
d092acd7e1 First version of MobSpawner 2023-06-02 22:38:05 +02:00
ItsSelis
60a07993ae Bundle sync 2023-06-01 20:49:40 +02:00
ItsSelis
df105210f7 Checkboxes 2023-06-01 17:46:49 +02:00
ItsSelis
fa5cc34320 TGUI Update Hotfix 2023-06-01 16:59:47 +02:00
ItsSelis
35ba60cd94 Actually test an existing gas 2023-05-31 20:44:42 +02:00
ItsSelis
94eb85c653 Bundle 2023-05-31 20:23:03 +02:00
ItsSelis
d8a12788b1 Prettify 2023-05-31 20:20:55 +02:00
ItsSelis
eb6623ed2a Misc 2023-05-31 20:15:56 +02:00
ItsSelis
8d637dfe7c Kitchen Sink & Layouts 2023-05-31 20:07:52 +02:00
ItsSelis
4b7873210a Components 2023-05-31 20:03:45 +02:00
ItsSelis
2a936cd6c0 Core Files 2023-05-31 19:33:03 +02:00
Runa Dacino
2effabd23a Modifies medical & employment records to be scrollable.
* Recompiles tgui.bundle.js
2023-05-29 17:28:14 +02:00
Runa Dacino
30ee8288ce Adds TGUI functionality to Trait Tutorial
* Creates trait_tutorial_tgui.dm to act as backend, adds to vorestation.dme
* Creates TraitTutorial.tsx to act as frontend
* Modifies traits_tutorial.dm for TGUI compatibility
* Adds comment to var/tutorial definition on how to make it pretty in TGUI
* Modifies logic in trait_tutorial to catch empty trait lists.
* Edits bloodsucker obligate/freeform to add another <br>
2023-05-23 00:29:45 +02:00
Runa Dacino
fa6fb47fdb Adds new preference for vore privacy
* Adds a "global" pref to set default belly privacy behaviour
* "global" pref shows up with prefs like "devourable"
* Adds per-belly pref that, if changed from "default", overrides "global" pref
* per-belly pref in "options" of belly, same column as "save digestion"
* Global options: True/False (subtle/loud)
* Per-belly options: "default", "subtle", "loud"
* Governs attempting to ingest
* Governs successful ingestion
* Governs expelling one/all contents
* does NOT work for slipvore
* Ingestion only works for /mob/living
* Expulsion also works for objects
* Expulsion also has its volume lowered
* Involves touching TGUI
2023-05-20 14:42:07 +02:00
dependabot[bot]
e49a03bf5b Bump webpack from 5.73.0 to 5.76.0 in /tgui
Bumps [webpack](https://github.com/webpack/webpack) from 5.73.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 02:24:18 +00:00
Killian
4a4fa059d7 bundle update and record computer updates 2023-02-25 08:30:47 +00:00
Killian
69491d46f2 Merge remote-tracking branch 'upstream/master' into kk-lore 2023-02-25 07:47:02 +00:00