Skip to content
This repository was archived by the owner on May 19, 2022. It is now read-only.

A few fixes to turfs. #150

Merged
merged 2 commits into from
Oct 29, 2020
Merged

A few fixes to turfs. #150

merged 2 commits into from
Oct 29, 2020

Conversation

uomo91
Copy link
Contributor

@uomo91 uomo91 commented Oct 27, 2020

About The Pull Request

Fixes:
Mojave-Sun/tg-ashcloud#94
Mojave-Sun/tg-ashcloud#90

Previously prying up tiles and replacing them lead to an error from a mismatched icon var due to shitty turf code from upstream. This solves that by creating a /f13 tile item, but unfortunately leaves us where old Fallout 13 was; with no way for players to replace the exact floor tile type they pried up. I will work on that part of the problem again in the future.

This also solves explosions causing missing icon_states because we don't have the icon_ states needed for it and we have no chance of ever making that many..
Currently it just disables any visual cue of a tile being damaged, but I'm hoping to stick an overlay in here instead soon, possibly before this PR gets merged.

Lastly, destroyed turfs on the ground floor now create mountain floor, instead of openspace.
...Not really sure why we ever thought that was a good idea.

Why It's Good For The Game

Needed to take care of these before we do a public test.

@Koshenko Koshenko merged commit 1b446c4 into Mojave-Sun:master Oct 29, 2020
@uomo91 uomo91 deleted the floorfixes branch November 18, 2020 16:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants