Commit Graph

23 Commits

Author SHA1 Message Date
Kashargul 6c768b06ec reimplements attack and player logs (#19313)
* reomplements attack and player logs

* right log cat

* updates logging, makesDB optional

* regex serarch

* .

* .

* .

* sucks

* db load

* .

* .

* db logging
2026-03-19 22:37:45 +01:00
Kashargul a55b487389 moves all subsystems to length (#19168) 2026-02-15 06:34:14 -08:00
Kashargul d0678d4046 More globals (#19111) 2026-01-30 19:51:21 +01:00
Cameron Lennox 84dc5535dc var/global/list -> GLOB. conversion (#17928)
* These two are easy

* !!!runlevel_flags

the fact it was global.runlevel_flags.len has me a bit...iffy on this.

* !!!json_cache

Same as above. used global.

* player_list & observer_mob_list

* mechas_list

* this wasn't even used

* surgery_steps

* event_triggers

* landmarks_list

* dead_mob_list

* living_mob_list

* ai_list

* cable_list

* cleanbot_reserved_turfs

* listening_objects

* silicon_mob_list

* human_mob_list

* Update global_lists.dm

* joblist

* mob_list

* Update global_lists.dm

* holomap_markers

* mapping_units

* mapping_beacons

* hair_styles_list

* facial_hair_styles_list

* Update global_lists.dm

* facial_hair_styles_male_list

* facial_hair_styles_female_list

* body_marking_styles_list

* body_marking_nopersist_list

* ear_styles_list

* hair_styles_male_list

* tail_styles_list

* wing_styles_list

* escape_list & rune_list & endgame_exits

these were all really small

* endgame_safespawns

* stool_cache

* emotes_by_key

* random_maps & map_count

* item_tf_spawnpoints

* narsie_list

* active_radio_jammers

* unused

* paikeys

* pai_software_by_key & default_pai_software

* plant_seed_sprites

* magazine_icondata_keys  & magazine_icondata_states

* unused

* ashtray_cache

* light_type_cache

* HOLIDAY!!!

this one was annoying

* faction stuff (red?!)

* Update preferences_factions.dm

* vs edit removal

* backbaglist, pdachoicelist, exclude_jobs

* item_digestion_blacklist, edible_tech, blacklisted_artifact_effect, selectable_footstep, hexNums, syndicate_access

* string_slot_flags and hexdigits->hexNums

* possible_changeling_IDs

* vr_mob_tf_options

* vr_mob_spawner_options

* pipe_colors

* vr_mob_spawner_options

* common_tools

* newscaster_standard_feeds

* Update periodic_news.dm

* changeling_fabricated_clothing

* semirandom_mob_spawner_decisions

* id_card_states

* Update syndicate_ids.dm

* overlay_cache & gear_distributed_to

* more

* radio_channels_by_freq

* Update global_lists.dm

* proper

* default_medbay_channels & default_internal_channels

default_internal_channels is weird as it has a mapbased proc() but that proc is never called...

* valid_ringtones

* move this

* possible_plants

* more

* separate these

moves xeno2chemlist from a hook to a new global list.

* tube_dir_list

* valid_bloodreagents & monitor_states

* Junk

* valid_bloodtypes

* breach_burn_descriptors & burn

* more!!

appliance_available_recipes seems uber cursed, re-look at later

* Appliance code is cursed

* wide_chassis & flying_chassis

* allows_eye_color

* all_tooltip_styles

* direction_table

* gun_choices

* severity_to_string

* old event_viruses

* description_icons

* MOVE_KEY_MAPPINGS

* more more

* pai & robot modules

* Update global_lists.dm

* GEOSAMPLES

Also swaps a .len to LAZYLEN()

* shieldgens

* reagent recipies

* global ammo types

* rad collector

* old file and unused global

* nif_look_messages

* FESH

* nifsoft

* chamelion

* the death of sortAtom

* globulins

* lazylen that

* Update global_lists.dm

* LAZY

* Theese too

* quick fix

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-07-14 20:14:31 +02:00
Selis 8661955bfb Moving the database to a subsystem (#16480)
* dbcorev2

* qdel stuff

* New DB code

* Fixed comments

* Fixed lower define limit

* Added missing hooks

* Added missing qdels

* Fixed statistics sql
2025-01-27 09:59:56 -05:00
Selis 242fa3a66b Ports over configuration controller (#16484)
* Ports over configuration controller

* Fixes

* Manual path fix

* patch (#16490)

* patch

* .

* SQL Fix

* Post-rebase fix

* Added missing examples

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2024-10-22 19:26:44 +02:00
Heroman 0c9664afd3 More adjustments 2022-07-05 15:03:20 +10:00
Heroman 4955759fb5 Minor fixes to Talon playhours 2022-07-04 15:32:38 +10:00
Heroman d0aeab45c3 Makes Talon Captain restricted behind 60 hours of Talon playtime 2022-07-03 07:20:43 +10:00
Heroman 4fab43cf37 Hopefully fixes borgs not earning PTO 2021-11-20 12:19:53 +10:00
Heroman 25a7bde56f Removes redundant check for AI 2020-05-12 18:35:51 +10:00
Heroman3003 3ef2c3c145 Applies suggested changes
Co-authored-by: Aronai Sieyes <arokha@arokha.com>
2020-05-12 18:25:38 +10:00
Heroman fb8e2680b0 Allows Cyborgs and AI to earn PTO and departmental playtime 2020-05-12 07:24:33 +10:00
Aronai Sieyes ea8a068025 Add department playtime requirement config, code 2020-05-08 17:57:56 -04:00
Heroman a8c4ac11c4 Does some adjustment to _vr job things 2020-03-19 14:20:11 +10:00
Heroman a7a9080362 Separates PTO being earned into its own var 2020-03-12 11:47:55 +10:00
Unknown b2cd0eade0 Converts off duty system to new system 2020-03-09 15:37:45 -04:00
Heroman bc74ea53c9 Removes Command from appearing for players who had it removed 2019-04-15 18:14:04 +10:00
Heroman 032daec451 Removes collection of command PTO 2019-04-08 15:10:58 +10:00
Arokha Sieyes cf4455e8db Adds cap on PTO
18 consecutive off-duty shifts is ... probably enough.
2018-02-02 18:37:50 -05:00
Arokha Sieyes 446e0f30e3 Configuration option for time_off 2018-01-28 23:27:21 -05:00
Arokha Sieyes 090c9bd265 Adds idle time check 2018-01-28 23:27:21 -05:00
Leshana 9ca5337c98 PTO Implementation
* Adds SSpersist which updates people's PTO balance every 15 minutes
* Adds "Off-duty" jobs which can only be taken if you have enough PTO.
2018-01-28 23:27:21 -05:00