Add ashtray persistence & fixes (#21925)

# Summary

This PR adds persistency to ash trays. This in turn fixes cigarettes
butts spawning a round later in locations where non-empty ash trays were
found.

## Changes

- Add persistence to ash trays and prevent (fixes) cigarette butt
persistence if in an ash tray.
- Fixed cigarette butts not being persistent if the cigarette was put
out on purpose and landing on the floor.
- Fixed loss of registered persistence track on item pickup.
- Fixed persistent tracks when item is held by player.
- Removed all ash trays on the Horizon as their existence is now
persistent. One-time job for operations after merge.
- Fixed matter configuration on `/obj/item/material` not being set
during `set_material()`.
- Fixed persistent trash on space turfs.
- Minor adjustments in SQL/Readme.md.

---------

Signed-off-by: FabianK3 <21039694+FabianK3@users.noreply.github.com>
Co-authored-by: VMSolidus <evilexecutive@gmail.com>
This commit is contained in:
FabianK3
2026-03-17 14:12:57 +01:00
committed by GitHub
parent b56522f6e5
commit 6c4e9254b2
12 changed files with 74 additions and 88 deletions
+6 -3
View File
@@ -172,17 +172,20 @@ and changes are stored in volumes.
services:
flyway:
image: flyway/flyway
command: -url=jdbc:mysql://db -user=root -password=P@ssw0rd -workingDirectory="project" migrate
command: -url=jdbc:mysql://db -user=root -password=my-password -defaultSchema=aurora migrate
volumes:
- ./SQL/migrate-VERSION:/flyway/project # Pathing!
- ./SQL/migrate-VERSION:/flyway/sql # Pathing!
depends_on:
- db
db:
image: mariadb
environment:
MARIADB_ROOT_PASSWORD: Pssw0rd
MARIADB_ROOT_PASSWORD: my-password
volumes:
- aurora:/var/lib/mysql:Z
ports:
- 3306:3306
volumes:
aurora:
```