Commit Graph

27 Commits

Author SHA1 Message Date
atermonera
94539328ec Adds config option to control loadout whitelist strictness 2021-04-26 16:37:48 -09:00
Verkister
76d2a40936 Makes xenowear species WL check species
Makes loadout xenowear species whitelists check the selected species of the character instead of whether or not the client key is whitelisted for the species.
2021-04-23 18:00:44 +03:00
Greenjoe12345
74538d383e adds the ability to give loadout items a custom name/description 2020-08-31 01:20:59 +01:00
Leshana
76f1da5830 Fix Runtime in loadout.dm,277: bad index
Runtime happens when someone has a saved preferences loadout containing an item that currently is expected to have gear_tweaks, but at the time that the savefile was last saved, did *not* have gear tweaks.  Thus the saved prefs have null metadata.
Also it makes no sense to check the length of a list *inside* a for loop iterating over that list..
2020-02-24 00:02:17 -05:00
Arokha Sieyes
5b15917d32 to_chat replacing stream operator 2020-02-17 13:14:08 -05:00
Verkister
aee06aec3d Fixes loadout index runtime spam (#6626)
sanity checks saving the day once more.
2020-01-15 23:55:45 -08:00
Mechoid
58e2ce2fb4 Change various global species lists to GLOB versions. 2019-12-05 23:55:22 -08:00
KasparoVy
a75c92c03f Loadout Implants Properly go in Mob, not on Floor
The main cause is the 'exploitable' check from `code/game/jobs/job_controller.dm` because the proc `amend_exploitable` from `code/modules/mob/mob.dm` spawns a duplicate of the implant at the mob's feet.

Tertiary issues were...
- The `implant_loadout` proc in `code/game/objects/items/weapons/implants/implant.dm` not inserting the implant in the correct location (was passing an organ instead of a zone define like BP_HEAD, which has a string value of "head".)
- There were unnecessary post-spawn behaviours for dud and neural fluff implants.

What now happens:
- The exploitable check now occurs in the `spawn_item` proc from `code/modules/client/preference_setup/loadout/loadout.dm`.
- The loadout implants are now inserted into the correct locations within a mob.
- There won't be implants created on the floor anymore.
2019-10-27 22:43:27 -04:00
PrismaticGynoid
10b2cc7eef Multiple loadout slots (#4530)
* Multiple loadout slots

Ported from Bay. Each character can have 3 (number can be overridden by config) loadout slots. This way, you can have different outfits for different situations without needing to have a separate character slot or edit your loadout every time.

Tested here, works as intended. The current loadout is set as slot 1, so you don't need to worry about remaking it. This also ports the to_file and from_file macros to make it work, I'm assuming they could later be used elsewhere as well.

* Log of Changing
2018-01-14 14:47:47 -06:00
mistyLuminescence
e76447a719 Loadout stuff, but done right! (#4094)
* Loadout and accessory path tweaks.

* updated: armbands

* except it's better now

* no ian shirt and psych medHUD, travis fixed?

* OKAY ROUND THREE
2017-10-19 09:36:15 -05:00
Anewbe
860c1d2e9f Makes the auto-antag-record logging for loadout items prettier 2017-10-02 03:08:01 -05:00
Anewbe
a67e57e727 Simple fix is good fix 2016-11-18 22:32:45 -06:00
Yoshax
fe8d1b24af Ensures xeno loadout validation is done correctly 2016-08-06 20:27:23 +01:00
PsiOmegaDelta
4d74a8f5c2 Various fixes.
Client Login() now calls ..() before setting up preferences, ensuring a mob has actually been assigned. Fixes #12560 (and probably other somehow subtle sanitation issues).
The alien whitelist now checks the rights of the supplied mob, not usr.
When granting xeno loadout gear the mob's current species must match the gear's whiteliste species.
2016-08-05 17:35:43 +01:00
Arokha Sieyes
86fe574faf Fix inconsistency with alien whitelist 2016-07-05 14:48:17 -04:00
EmperorJon
5a545854a4 Underwear Datums (#1794)
* One more step to bringing our preferences/setup stuff in line with Bay.

* Whoopsy

* Jon is a moron, more at 11.
2016-05-29 17:29:36 +01:00
Jon
ba529fabed Fixes #1790 2016-05-29 04:15:22 +01:00
PsiOmegaDelta
6ce5eef293 Can now see how many points have been spent in each loadout category.
Also adds a small hack to fix #12560. Validation no longer occurs if the preference mob doesn't exist.
2016-05-16 17:23:08 +01:00
PsiOmegaDelta
a6dd6bfa4a Ports Bay's adjustments of the faux-nanoui character setup and related 2016-05-12 18:26:24 +01:00
Arokha Sieyes
b6a602ba9a New Player/Character Setup (Fake)NanoUI
While I consider Polaris' character setup screen to be mechanically better
than most others, it wasn't prettier. Well. It was a bit. But now it's
more pretty-er.

Used the fake NanoUI 'browser' datum to render the pages for the New
Player panel and the Character Setup screen.
2016-05-08 03:19:09 -04:00
Yoshax
cf0a67d18f Restores ability to compile on 510 2016-04-29 01:34:20 +01:00
PsiOmegaDelta
48b773fcfa Can now select the design and contents of your loadout lunchbox.
Also allows gear tweaks to take up a whole row on their own, due to potential length.
Also fixes a couple of incorrect && logical operations. Should have been ||.
2016-04-05 11:57:30 -04:00
PsiOmegaDelta
15aed1ade4 Makes it possible to further customize loadout items.
Can now configure the path and contents of loadout items.
2016-04-05 11:47:15 -04:00
PsiOmegaDelta
b277447426 Now possible to tweak colors of loadout items.
Used to greatly cut down on the number of hats (hijabs, kippots, and turbans).
2016-03-30 18:01:09 +01:00
PsiOmegaDelta
877e3d66df Makes loadout datums more flexible.
Loadout item definitions can now also take a list of tweaks, which will adjust the item after spawn.
Currently includes color and icon state changes.
2016-03-30 16:46:14 +01:00
Datraen
1286bd8afa Makes the loadout screen use the display name instead of the item name. 2016-02-24 17:00:40 -05:00
Zuhayr
7453414faa Added new panel for loadout. 2016-02-09 00:09:39 +10:30