Commit Graph

467 Commits

Author SHA1 Message Date
spookerton
cb483875cd null guard qdel, better log_info_line behavior
gentle qdel refactor for readability
adds ref_name and ref_type to weakref
improves /proc/weakref initial test
corrects weakref GC hint
2022-10-15 15:06:00 +01:00
spookerton
5fe5a8f939 fix || in type2parent switch, gentle refactor 2022-10-09 11:54:05 +01:00
Cerebulon
c463104999 Ports Diagonal Movement (#8199)
* Ports Diagonal Movement

* Requested tweaks

* mathemagical correction

* Update code/modules/keybindings/setup.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/_helpers/type2type.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/modules/keybindings/setup.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* fixed merge error

* Fixes falling, speed calculation, and non-hotkey WASD

Co-authored-by: Spookerton <spkrtn@pm.me>
2022-10-07 23:36:14 -08:00
Cerebulon
63bcc560c3 Removes Taurs 2022-09-28 03:17:48 +01:00
MistakeNot4892
43883793e9 get_random_colour() now prepends a #. 2022-06-23 10:23:57 +10:00
Atermonera
032c899201 Merge pull request #8636 from Greenjoe12345/clothingmay22
clothing port May 2022
2022-05-14 21:11:51 -08:00
Greenjoe12345
ba62bff4b3 clothing 2022-05-12 00:02:02 +01:00
Killian
805ec533c7 chest targeting fixes 2022-05-08 23:13:33 +01:00
spookerton
c6dfdeaae2 remove unused sources in code/* 2022-04-26 21:17:59 +01:00
Atermonera
21bd8477c7 Merge pull request #8531 from Spookerton/spkrtn/sys/global-agenda
updates all bare globals to use /global/ semantics, and all shared members to /static/
2022-04-24 19:56:07 -08:00
Atermonera
2a494dcb66 Merge pull request #8530 from Spookerton/cerebulon/ssoverlay
alt of 8336
2022-04-24 18:57:19 -08:00
spookerton
556331a6a3 use /global/ sugar for bare globals, no leading / 2022-04-24 07:54:34 +01:00
spookerton
ee67e174fb use static for shared member vars 2022-04-24 07:52:32 +01:00
spookerton
2572f042a3 redo behavior of ssoverlays and atom overlay procs 2022-04-24 07:50:46 +01:00
spookerton
a930f4eb7c move filter_data to atoms def, add get_overlays 2022-04-24 07:41:01 +01:00
spookerton
ac440b3a3d fix pickweight, add pickweight_index 2022-04-24 07:38:53 +01:00
atermonera
9d71839ac6 Removes devices 2022-04-17 19:14:43 -08:00
atermonera
7a9806d9b4 Removes weapons 2022-04-17 19:14:32 -08:00
Cerebulon
599c2c8c57 Adds a bunch of new bags and replaces nearly all bag sprites 2022-04-11 10:07:58 +01:00
spookerton
11dcaf97b8 updated get_atom_on_turf
accounts for bad cases (non-movable subject, subject with a bad loc)
gently improves loop test performance
2022-04-09 11:21:51 +01:00
spookerton
7eedbedba5 removes some legacy procs, adds some other procs
NUFC

removed add_lspace — unused
removed add_tspace — unused
removed invertHTML — unused
removed hsl2rgb — unimplemented

removed hex2num — replaced with define
removed num2hex — replaced with define
removed add_zero — replaced with pad_left
removed add_zero2 — replaced with pad_left
removes hex2rgb — replaced with behavior of rgb2num()
removes hex2rgb_r — replaced with behavior of rgb2num()
removes hex2rgb_g — replaced with behavior of rgb2num()
removes hex2rgb_b — replaced with behavior of rgb2num()
removes assorted inline list(rgb) > hex — replaced with behavior of rgb()
removes assorted inline rand > hex — replace with random_hex_text

added hex2num define
added num2hex define
added random_hex_text
added generate_padding
added pad_left
added pad_right
2022-04-03 14:19:45 +01:00
Atermonera
83ac485925 Merge pull request #8496 from Spookerton/spkrtn/sys/out-with-the-old-2
remove some obsolete defines
2022-04-02 17:46:13 -08:00
spookerton
602cc67d2b removed CLAMP define 2022-03-31 19:21:58 +01:00
spookerton
b61156cefe adds client helpers, fixes an oversight from 8451 2022-03-30 15:04:29 +01:00
atermonera
c7f1880394 Revert "What was supposed to be another straightforward major system overhaul that once again spiraled out of control (#8220)"
This reverts commit 4d8c43f106.
2022-03-29 16:01:32 -08:00
Cerebulon
37d685d799 Moves area defines onto maps, fixes blob/vine spawns (#8421)
* Moves area defines onto maps, fixes blob/vine spawns

* Redundant region define
2022-03-17 18:16:11 -08:00
spookerton
e5023f92aa resolved sdmm-suite switch warnings 2022-03-04 19:30:36 +00:00
Atermonera
0ff62449b3 Merge pull request #8395 from Cerebulon/cynosure_map_lore_2
Re-adds Cynosure map and ATC fluff
2022-02-14 17:21:25 -08:00
Cerebulon
85ae9a336b timeskip date 2022-02-13 22:02:19 +00:00
Cerebulon
4fad562e9e Cybernetic Augments and Sick Tats (#8200)
* Cybernetic Augments and Sick Tats

* Cybernetic Augments and Sick Tats

* Fixed indentation

* Unused var

* Excludes metal bits from cloning/dna copies.

* Genetics as var

* Add a line.

* what if a list was a list
2022-02-12 23:51:04 -08:00
atermonera
e6e434ad0b Merge branch 'master' of https://github.com/PolarisSS13/Polaris into cynosure_map 2022-02-12 15:14:31 -08:00
Atermonera
ae7b190b0d Merge pull request #8390 from Atermonera/dview_runtime_fix
Fixes runtime on server start: SSAtoms doesn't exist yet
2022-02-07 18:00:43 -08:00
atermonera
d5b6a2d242 Fixes runtime on server start: SSAtoms doesn't exist yet 2022-02-06 17:00:26 -08:00
atermonera
ac5e245c41 Fixes robosurgery 2022-02-05 14:40:19 -08:00
Atermonera
d3ef2db8b4 Merge pull request #8384 from Atermonera/cynosure_map
Updates Cynosure map to master
2022-01-27 20:08:24 -08:00
atermonera
762fd8591a Merge branch 'master' into cynosure_map 2022-01-25 20:17:56 -08:00
PrismaticGynoid
5b2c5fe2e4 Cynosure map fixes round 8
Enables random map generation for the Cynosure
Fixes lower medical disposals being unconnected
Virus food dispenser no longer blocks the floor in front of it
Chapel coffin storage door given proper name and access
Allows solar SMES units to have higher input/output properly
Several floating posters fixed in basement submaps

Also replaces dirt path between arrivals and the station with a sidewalk, and adds some snow around the station.
2022-01-23 19:30:19 -08:00
Atermonera
4d8c43f106 What was supposed to be another straightforward major system overhaul that once again spiraled out of control (#8220)
* get_tool_quality has numerical meaning

* Basic tools set tool quality

* Toolspeed is replaced by tool quality checks

* Addresses assorted results from live test

* Extra cleanup
2022-01-16 15:52:55 -08:00
Atermonera
cff34e64a1 Adds event regions to GameMaster events (#8334)
* Configures gm events to be selectable by "region"

* Configures event regions for existing events

* Configures event selection to filter by region
2022-01-15 23:52:00 -08:00
atermonera
95e2f2a6c4 Implements species-specific ckey/species whitelisting 2022-01-15 21:07:43 -08:00
MistakeNot4892
618082f500 /atom New() => Initialize() [MDB IGNORE] (#8298)
* Find and replace argless atom New() to Initialize().

* Manual replacement of no-arg New() to Initialize().

* Manually replacing remaining New() overrides.

* Fixing linter issues with now-removed New() args.

* Tidying area init overrides.

* Porting Neb's atom subsystem.

* Trying to isolate init problems.

* Adjusting Init code post-test.

* Merging duplicate Initialize() procs.

* Merge resolution.
2022-01-04 18:47:57 -08:00
MistakeNot4892
96ba1f12f8 Adjusting random map optimizations. 2022-01-04 18:46:21 -08:00
MistakeNot4892
f33facd7e2 Backports Bay/Neb random map optimizations. 2022-01-04 18:46:21 -08:00
MistakeNot4892
2f0a618d45 /atom New() => Initialize() [MDB IGNORE] (#8298)
* Find and replace argless atom New() to Initialize().

* Manual replacement of no-arg New() to Initialize().

* Manually replacing remaining New() overrides.

* Fixing linter issues with now-removed New() args.

* Tidying area init overrides.

* Porting Neb's atom subsystem.

* Trying to isolate init problems.

* Adjusting Init code post-test.

* Merging duplicate Initialize() procs.

* Merge resolution.
2021-11-14 00:09:14 -08:00
PrismaticGynoid
8a96fd173e Map fixes and tweaks part 7
Fixes for:
Basic NTnet cards being unable to reach telecomms from the station
Shuttles not showing location details when landed
Ship sensors printing blank papers
Certain shuttles not clearing weather visuals on landing
Ninja/merc elite shuttles being unable to dock
Mislabeled west solar SMES
Engine flow/pump sensors not connected to cooling system computer
Fixes a few non-cold tiles in telecomms compartment
Adds a few missing rails
Also, tweaks surgery rooms a bit
2021-10-07 20:35:31 -07:00
MistakeNot4892
9286036a3d Updates wine reagent id to redwine. 2021-08-20 11:06:05 +10:00
Atermonera
671b5e7ea4 Closet appearance decls correctly use the repository (#8154)
* Closet appearance decls correctly use the repository

* GET_DECL
2021-06-27 20:45:23 -09:00
MarinaGryphon
593246b595 Linter diagnostics + bans non-var relative pathing (#8150)
* Linter diagnostics + bans non-var relative pathing

* Enable DreamChecker Annotations

* make it executable

* update hashFiles

* oops

* tries to fix it... again

* trying again

* path

* repath

* fix perms

* fixes weird capitalisation issue
2021-06-20 13:14:29 -09:00
Atermonera
beaf109060 Refactors posters to use decls (#8128)
* poster

* Moves decls_repo init forward

* Moves decl_repository init even further forwards
2021-06-18 19:14:49 -07:00
MarinaGryphon
c224b192a9 Improves select_recipe. (#8141)
* select_recipe improvement

Removes the call to Timsort and the recipe comparator proc;
uses a handrolled implementation of
`argmax(items + reagents + fruit)` instead.
This reduces the memory footprint of `select_recipe`
as well as the amount of processing needed to select the optimal recipe.

* angelogchay
2021-06-18 14:06:27 -09:00