Commit Graph

49 Commits

Author SHA1 Message Date
VerySoft
2153a45288 Change painting persist decay
Instead of paintings lasting 1000 shifts before being deleted

Now the system will store up to 1000 paintings, and remove the one at the top of the list (the earliest/oldest one) first when the maximum number of paintings is exceeded. 

Additionally, examining a painting that has been stored will move it to the bottom of the list, effectively renewing its lease in the system. 

This should make it so that paintings aren't just arbitrarily being removed for being old, and, the paintings that actually get looked at should stick around.
2022-03-01 20:50:05 -05:00
VerySoft
75dfd8291e Don't persist spitwads and gum
These just always have bothered me. I'd prefer if they didn't hang around.
2022-02-08 22:16:25 -05:00
Heroman
d7bbaa150e Fixes produce persistence 2021-12-05 06:47:57 +10:00
Heroman
ab92472525 Enables persistance on all z-levels that have persistance flag, not just station ones 2021-11-22 07:30:52 +10:00
Hatterhat
b0bb524eb3 . = ..() 2021-11-09 11:07:32 -06:00
Hatterhat
e6aa7c0929 gaming 2021-11-07 20:33:06 -06:00
Aronai Sieyes
e52031d6aa Make stack amount var private 2021-08-19 21:06:46 -04:00
MarinaGryphon
577b986ba6 Convert some bools to TRUE/FALSE instead of 1/0. (#11100)
Co-authored-by: Aronai Sieyes <arokha@arokha.com>
2021-07-16 13:43:25 -04:00
Aronai Sieyes
b3582ef0ad Don't load more than one of each painting 2021-07-07 14:59:47 -04:00
MarinaGryphon
e41c2ecfd7 first pass (emotification, some \the -> \The) 2021-07-05 09:42:48 -05:00
Aronai Sieyes
0977ccabae Make paintings persist for a very long time 2021-07-03 22:12:52 -04:00
Leshana
f3bda2092f Implement saving of paintings via the persistence mechanism. 2021-07-03 22:12:52 -04:00
Aronai Sieyes
fda5bd4c7f Port art from /tg/ with stubbed persist 2021-07-03 22:12:49 -04:00
Aronai Sieyes
c3a1263efb Be picky about readability 2021-07-02 23:03:32 -04:00
Aronai Sieyes
7a1eb7fd22 Merge pull request #10675 from SpaceVampire/persistence-change
Changes persistent smartfridge loss to a flat rate.
2021-07-02 22:59:56 -04:00
Aronai Sieyes
b4387f251d /tg/ vis openspace 2021-06-30 15:39:07 -04:00
SpaceVampire
b9a82730e8 perfectly-balanced
As all things should be.
2021-06-28 16:59:00 -04:00
Aronai Sieyes
4c12504e3b Replace list inputs with tgui_input_list 2021-06-26 10:39:56 -04:00
SpaceVampire
52f6d486c1 fixes-equal 2021-06-18 18:20:23 -04:00
SpaceVampire
d918d3f239 oops 2021-06-18 18:08:20 -04:00
SpaceVampire
994d280404 return-of-random-floor 2021-06-18 17:54:00 -04:00
SpaceVampire
05254aab77 aaa 2021-06-18 04:54:37 -04:00
Aronai Sieyes
1696db4842 Move most/all overlay use to SSoverlays
Except for the ones I'm about to change in the
lighting commits!
2021-06-17 00:11:13 -04:00
Aronai Sieyes
66e0c69926 Fixes #10507 2021-06-01 20:11:50 -04:00
Aronai Sieyes
da4837903c Merge pull request #10433 from VOREStation/upstream-merge-8085
[MIRROR] Linter Introduction + Cleanup
2021-05-27 12:31:23 -04:00
Aronai Sieyes
61561f0ab3 Merge pull request #10370 from VOREStation/upstream-merge-8087
[MIRROR] SSpersistence tweaks
2021-05-27 12:30:12 -04:00
Aronai Sieyes
b78ca7575a Fix merge of 8087 2021-05-27 12:19:48 -04:00
Aronai Sieyes
7d725e740b VS: Implicit list abuse 2021-05-27 12:08:51 -04:00
Aronai Sieyes
535519ad32 Allow mapped-in graffiti 2021-05-25 22:28:30 -04:00
Aronai Sieyes
c57dfd7653 SSpersistence tweaks 2021-05-20 23:53:11 -04:00
Aronai Sieyes
2df96b1e6f Sticky note 10% fall chance 2021-05-14 14:26:01 -04:00
Aronai Sieyes
7bd9ac037a Convert persistence to JSON 2021-05-14 14:25:55 -04:00
Aronai Sieyes
7ff1861528 Add some 'lossy' smartfridges and options 2021-05-13 18:39:32 -04:00
Aronai Sieyes
ac5ec93548 Merge changes 2021-05-13 11:37:57 -04:00
Atermonera
62077da11c Adds persistent smartfridges for garden products, material sheets 2021-05-13 02:06:19 -04:00
ShadowLarkens
e6429d818b Fix noticeboard being unable to be examined
Fixes VOREStation/VOREStation#9165

This issue doesn't appear to be present anymore in any testing.
Closes VOREStation/VOREStation#9295
2021-04-19 10:21:19 -07:00
Novacat
3d1ec8ce42 Merge pull request #9540 from VOREStation/upstream-merge-7810
[MIRROR] Excised Errant Bay Military Lore
2021-02-13 00:50:25 -05:00
Cerebulon
b6f7666e3c Fixed global_announce autospeaker 2021-01-25 20:26:44 -05:00
Cerebulon
4fc2884f9f Excised Errant Bay Military Lore (#7810)
* Filth + Graffiti Fixes

* Excised Bad Lore

* Update filth.dm

why was this here oops i was on master
2021-01-01 00:40:56 -05:00
Meghan-Rossi
de36b996b9 Makes wall-mounted machines layer above windows 2020-10-17 02:03:26 -04:00
Cerebulon
6e8a506233 Graffiti + Filth Fixes (#7656) 2020-09-18 23:47:38 -04:00
Novacat
89b0fa6b79 Merge pull request #8708 from Rykka-Stormheart/shep-dev-persistence-megapatch
Persistence Patch
2020-08-21 01:14:04 -04:00
ShadowLarkens
0231088057 TGUI Notice Board 2020-08-16 22:27:08 -07:00
Rykka
b586bb97e8 Fix Travis errors, define mapload as Initialize() argument 2020-08-16 10:08:51 -04:00
Rykka
3531ae5a84 Forgot to remove a stray ) 2020-08-16 09:55:32 -04:00
Rykka
ad6870c78d Persistence Patch
- Fixes Paper and font tags stacking across rounds, as shown in: ![](https://cdn.discordapp.com/attachments/187013248309002240/741937939382141000/164fdd3a37fb22f18dfa9b5c431ffc04.png)

- Fixes Graffiti being persistent for over 50 rounds (10+ days)
- Sets Trash to be persistent for 4 rounds instead of 5
- Fixes Persistence being always-on because of if("persistence_enabled") config.persistence_enabled = 1. As explained: 
> it's on by default, which means config.txt will be read and if it's not there it stays at 1. If it is there,it gets set to 1. There is no way to disable it

- Adds config options to enable/disable **Persistence for Maploaded objects**, as well as a verb to toggle such.
- Adds Persistence to config.

Currently IGNORE_MAPLOAD for Persistance is **Disabled.**
Maploaded objects/dirt/etc will be saved by persistence, preserving current behavior.
2020-08-16 09:48:46 -04:00
Atermonera
9bc7b15585 Merge pull request #7440 from Cyantime/patch-2
Allows non-base welders to remove graffiti
2020-08-12 14:18:27 -04:00
Cerebulon
8b031dd8ad Persistent Trash/Dirt/Graffiti/Notices 2020-07-24 05:24:56 -04:00
Arokha Sieyes
8a8c4d76d2 Convert bellies to save using JSON 2018-03-02 02:22:20 -05:00