Commit Graph

35 Commits

Author SHA1 Message Date
Kashargul 72628d226c More globals (#19247)
* More globals

* planets

* .

* .

* Update jukebox.dm

* Fix timer callback syntax in jukebox.dm

* .
2026-03-15 02:54:17 -04: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
Will 8034d70120 Subsystem For Overmap Shuttle's Star Movement Effects (#17707)
* subsystem queue for star movement in overmap shuttles

* fixed documentation
2025-05-15 20:10:26 -07:00
Selis 28e969778c code/global.dm => code/_global_vars/ (#17244)
* 1

* Full conversion

* .

* .

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-04-21 05:55:25 -04:00
Kashargul 46bea7cfa2 Initialize fixing (#17279)
* Initialoize fixing

* diff fix

* add init grep test

* fixed missed ones

* .

* some more

* ,
2025-03-08 13:59:29 -05:00
ShadowLarkens d929645c49 Completely merk all traces of the skill system 2024-11-10 00:19:03 -08:00
ShadowLarkens acc912bdbc ByondUI Overmap Navigation (#16474)
* ByondUI Overmap Navigation

* delayed map update

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2024-10-20 16:15:11 +02:00
Killian e27e1335fa ship transponder flip (#16147) 2024-08-03 07:50:48 +10:00
Kashargul ab31632830 even more local defines (#16033) 2024-06-12 12:57:31 +10:00
VerySoft ac5c75d83a Requested changes 2021-10-29 23:36:25 -04:00
VerySoft f2164827b4 The final updates
Adds a new random spawner for coins with a fail chance (so the coins aren't always in the same place)

Addsome missing vending machines to the random vending machine spawner 

Adds a sound to starting and stopping in ships (that only plays at most once every 10 seconds.)

And sets it up so that planets and ships can have a sound when visited.

A bunch of little map tweaks to polish things up!
2021-10-29 02:29:42 -04:00
Aronai Sieyes fb489e1edc Actual code changes for ship icons 2021-06-29 21:22:31 -04:00
Aronai Sieyes c6fa02843f Make sectors not show up above darkness
Unless known = TRUE of course
2021-06-25 11:44:50 -04:00
Aronai Sieyes 9a948ca38a Small tweaks and more sound 2021-06-09 17:37:41 -04:00
Aronai Sieyes 10a08e84fc Add distress beacon 2021-06-09 16:59:50 -04:00
Leshana fd1ed9bd85 Overmap Ship Pixel Movement
- Moved ships to be in in SSprocessing so they get 1 second resolution.
- Add/remove ships from processing only when they are moving.
- Simulate pixel movement in code using pixel_x and pixel_y
2020-05-02 22:24:03 -04:00
Leshana 4adfc00800 Transform overmap ship icons to exact angle of heading. 2020-05-02 22:23:51 -04:00
Aronai Sieyes 3551edd8cc Improve ship scanners 2020-04-17 13:11:03 -04:00
Aronai Sieyes 524ce4e2c4 Move overmap wrapping onto edge turfs
Allows there to be several overmaps
2020-03-27 14:33:06 -04:00
Leshana 9cbdf184ff Ported Basic Overmap Functionality
- Ports the overmap, ships, sectors, and "landable" ships from baystation.
- Ports necessary computers to control ships and overmap shuttles.
- Shims missing machine and computer functionality pending future enhancements.
- Includes required new sprites and sounds.
2020-03-11 11:11:40 -04:00
Neerti fe0b7373b3 Ports TGstation view variables + admin proccall guards, and all the baggage that comes with it 2019-03-27 14:49:30 -04:00
Neerti b9adc37685 Standardizes rotation verbs 2019-03-27 03:17:07 -04:00
Neerti 86174593bf Replaces GoonPS scheduled_tasks and obj processing with SMC processing subsystems and timer 2019-03-26 23:58:26 -04:00
Atermonera 131636b1d2 Capitalizes initialize() to Initialize() because Destroy() is capitalized and this is pretty nerve-grinding 2019-03-26 13:21:08 -04:00
Leshana cef001bf2a Update every initialize() proc to return an initialize hint.
* Yes, all of them.
* Also did a few corrections to redundant New() and broken Destroy() along the way
* Renamed the turf_initializer.initialize() proc to InitializeTurf to avoid confusion.
* Subsumed /area/proc/initialize into /atom/proc/initialize() - Made /area's LateInitialize to get same behavior as before.
2018-02-03 01:00:57 -05:00
Dennok a65c3a63bc Fix 2015-04-22 09:43:15 +03:00
Dennok 3800db491f get_brake_path() change
Replace "max(abs(speed[1]),abs(speed[2]))" with "get_speed()"
I think this is more logically.
2015-04-22 09:27:24 +03:00
Dennok 44dc5c58ce Relocate rotate()
And add var/rotate for some dont rotated ship.
2015-04-22 09:12:24 +03:00
Dennok 98e6decd23 Remove standatd_icon 2015-04-21 20:22:51 +03:00
Dennok fdc3dac17e Forbid delit [ 2015-04-21 16:06:38 +03:00
Dennok bdc9642cfd Rotete replace. 2015-04-21 15:57:55 +03:00
Den daf6c17c88 Fix speed and add rotate()
If move NORTH and EAST  speed[i] be + and "last_movement[i] + default_delay - speed[i]" decrease but if move SOUTH and WEST  speed[i] be - and "last_movement[i] + default_delay - speed[i]" increase. abs(speed[i]) Fix it. "last_movement[i] + default_delay -abs(speed[i])" always decrease.

rotate() rotate ship icon in move dir.(Don't need a make additional dir sprites)
2015-04-17 23:37:57 +03:00
Chinsky 18607897f0 Merge branch 'master' of https://github.com/Baystation12/Baystation12 2015-02-21 21:47:16 +03:00
Chinsky cbe030b56e Compile fix 2015-02-03 08:39:39 +03:00
Chinsky 2a1f0849d8 Cleaned out my WIP folder. 2015-02-03 08:27:18 +03:00