Mothblocks

Results 17 issues of Mothblocks

## About The Pull Request ![image](https://user-images.githubusercontent.com/35135081/183337043-5fec57a8-95b6-4793-aafb-ca2368198576.png) CC @Twaticus ## Why It's Good For The Game Makes stuff more organized and lets us add more things without making the lists inscrutable....

UI
Quality of Life

## About The Pull Request This was denied in the past for perf reasons, but I want to test how much this actually reduces perf. `rustg_json_is_valid` checks for two things....

Do Not Merge
Fix
Security
📌 Test Merge Candidate

## About The Pull Request Before: `/turf/open/space 19721.7749` 19.7 seconds, give or take ~200 ms After: `/turf/open/space 3009.23178` 3 seconds, with margin of error reduced to around 50 ms. Most...

Performance
Fix
📌 Test Merge Candidate

Imgui already supports light theme, and I much prefer it to dark themes. Would be nice to provide one.

enhancement

![image](https://user-images.githubusercontent.com/35135081/158113433-0cf96ac0-d245-494d-8a15-7a700330baf5.png)

enhancement

The following code is never correct: ```dm /datum/species var/list/allowed_traits = list(1, 2, 3) /proc/do_something(datum/species/species_type) if (1 in initial(species.allowed_traits)) ``` ...because lists are made on `init`, the `initial` value is always...

enhancement

I would like to enforce statically that functions like `prob` and `rand` are not called during unit tests. I could do this with weird define hacks, but this sounds something...

enhancement

## About The Pull Request I'm at work on lunch break and I'm waiting on a 20 minute compile time, so I touch up code guidelines. This is something that...

GitHub

- `call_ext` now exists to replace `call`, with similar syntax - `type::variable_name` now exists in static definitions, to alleviate a breaking change to NAMEOF http://www.byond.com/forum/post/2828780

```dm var/list/mob/mobs = list() mobs += new ``` This actually translates to `mobs += list()`, because typed lists aren't real.

enhancement
Compiler
Low Priority