Compare commits
275 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 188d38cbc1 | |||
| df0439fac9 | |||
| e5fa0b0863 | |||
| 164965d218 | |||
| 0811316449 | |||
| 87510d109f | |||
| d206d30458 | |||
| d95b02d295 | |||
| 8833708e02 | |||
| 91c33b2be4 | |||
| ffa5647901 | |||
| bb6ed2fe17 | |||
| ac0cf40ad7 | |||
| 391022f6c0 | |||
| 32eacced92 | |||
| e2869e7b84 | |||
| 96f5cd4058 | |||
| d92e7c85b3 | |||
| e7eecb7acc | |||
| b631ae6e59 | |||
| ffdd38aa8e | |||
| e47e105c9c | |||
| 1535a2a343 | |||
| eab2bb42c0 | |||
| b510b509f0 | |||
| 0f985f0b5c | |||
| 24624b521d | |||
| 05bb0fe22c | |||
| 6803a17697 | |||
| db8344bfd3 | |||
| 3c35a0c157 | |||
| b746e25676 | |||
| 646e3dcc1c | |||
| cb27458319 | |||
| 458c532164 | |||
| 29f7f81e71 | |||
| 546d8206b6 | |||
| 3ef02959e5 | |||
| cbe6265b95 | |||
| 0eb23c3102 | |||
| e6aff72cdf | |||
| 36bffa208f | |||
| e42cf0f88b | |||
| 011f67b9ff | |||
| c87a751a23 | |||
| ce08088bee | |||
| e493bf2112 | |||
| f25300bf93 | |||
| 9dc3fc52c5 | |||
| 6e45c89e1a | |||
| e4cff70f1c | |||
| 3767fa1dbd | |||
| a4f3e1888c | |||
| 8a477bad9e | |||
| dbcd56ccb5 | |||
| db81a996da | |||
| 0477d601d3 | |||
| 2bbcb046b2 | |||
| ee9b44b595 | |||
| 6241b3ff6d | |||
| ae3360882e | |||
| 9774b81d7b | |||
| 7d35730dbd | |||
| 9e05033d06 | |||
| 9b78c9859e | |||
| ff234eaaca | |||
| 8a733e604e | |||
| 02df33188c | |||
| d557a442b7 | |||
| 1542dc0338 | |||
| bcbafff90a | |||
| 6b009a3ad8 | |||
| 27a9e56d8a | |||
| 1aa69807bd | |||
| c5e625d258 | |||
| 34dc10a0b6 | |||
| 13c8bce6d0 | |||
| 2858982846 | |||
| 4e11273098 | |||
| f3a45b72ac | |||
| b8c7bf3a69 | |||
| 4efbfb1770 | |||
| b443115f2a | |||
| cbeb4fbc96 | |||
| fa9af09196 | |||
| 6c6e7a2942 | |||
| 2e8532c91b | |||
| 7f15c214c7 | |||
| 1b8fe5c7e7 | |||
| 32763a38c4 | |||
| 7f467c4335 | |||
| 9a9321cfcb | |||
| 3aa5e1d9a6 | |||
| b8338cc988 | |||
| 4bde56db00 | |||
| cecdfc9745 | |||
| e4dc7057cc | |||
| badd670c44 | |||
| 836970fcc3 | |||
| b72b0519d3 | |||
| 1b3fbafb6f | |||
| b0ea1239b2 | |||
| 9089618e92 | |||
| d3dfbcdbf7 | |||
| 6881db5a9a | |||
| f011be86df | |||
| 50a2965848 | |||
| b7f2902876 | |||
| 44663db804 | |||
| 881b73be70 | |||
| c2349d7d86 | |||
| f34cc1d46f | |||
| 6d40fffc33 | |||
| 508aa24b44 | |||
| d2074a4c18 | |||
| 58f9ba6c6e | |||
| f9c01f1724 | |||
| c4d67b5eea | |||
| e0818e048e | |||
| a91f191d48 | |||
| 5463452a5c | |||
| a7bcda1aef | |||
| 06a002d98f | |||
| 83065093bc | |||
| 3f58af8fdd | |||
| 4ea591ca95 | |||
| 9cd9215ff4 | |||
| 614d23f1bd | |||
| 3320cfc72b | |||
| f66788d151 | |||
| 48a304f454 | |||
| 0d12c09d0e | |||
| 855ee3ef35 | |||
| 22b67ba730 | |||
| 5ed81fe133 | |||
| ee35894883 | |||
| 4f67537206 | |||
| 1e49f91700 | |||
| 1a9f7ce69b | |||
| 8188dfd4bc | |||
| b43de6ac39 | |||
| a50fca1522 | |||
| ad4061ef45 | |||
| 5cc35b20a8 | |||
| 224ab58944 | |||
| d9d480598a | |||
| e864f77299 | |||
| c05dd4f9f2 | |||
| eb1689a932 | |||
| 8ef53356cc | |||
| 1961a898d7 | |||
| de94ec61bf | |||
| cdfb37f013 | |||
| 50854965f0 | |||
| 636fd0de5f | |||
| a5cdf3c723 | |||
| 332fb1c602 | |||
| 8033e1f9e0 | |||
| 2b9515f147 | |||
| 743e07d8e0 | |||
| bc21b71d38 | |||
| b7dd00c23d | |||
| caf6eb1e6f | |||
| c20d62adfb | |||
| e3d862fc02 | |||
| 50e201260d | |||
| 76d644b350 | |||
| 9ccd59aa31 | |||
| 94579b72f1 | |||
| 288867f074 | |||
| c42287de21 | |||
| 643c4dbae2 | |||
| f365a59bac | |||
| 85f6491a5e | |||
| bc91db244b | |||
| c750d29361 | |||
| e0551278b5 | |||
| 9d5f3992d2 | |||
| 6164fc1007 | |||
| b3442dbfad | |||
| b8f817aa2d | |||
| c1dc179cf4 | |||
| 546c8c5767 | |||
| b610f7bab3 | |||
| 3d9e5f089d | |||
| b45581f673 | |||
| 2f1ca4b61a | |||
| b97d3921de | |||
| bc6079ee99 | |||
| 2cf9275f08 | |||
| 3ed2ac8338 | |||
| 9fc19b5df3 | |||
| 10b2bf030c | |||
| 259eb443ef | |||
| 2bbd0c32ca | |||
| 3e4856bac2 | |||
| 4afca487af | |||
| a7722aa21d | |||
| 6c862ccb36 | |||
| 74750ed431 | |||
| 43d12f2586 | |||
| b6f55e824e | |||
| cea2b37819 | |||
| e27e278dc1 | |||
| 3c79e52063 | |||
| fd0037fb48 | |||
| c4fa986f0f | |||
| 710db23f61 | |||
| 058e66a546 | |||
| 9b31497637 | |||
| 6d462c394e | |||
| 3d0bdc5b02 | |||
| af0e34d821 | |||
| b20423dc89 | |||
| f84df7a359 | |||
| b8ac774074 | |||
| 5cdd3cd6f5 | |||
| 2bc2ecbc85 | |||
| 3c150f2b92 | |||
| e76c82c1a1 | |||
| 19c9a592fd | |||
| f1bf11fdad | |||
| 4503deb12f | |||
| 1436fa7283 | |||
| ea01f64da3 | |||
| 5a20f41283 | |||
| c9c7f4b8d8 | |||
| bbc715b077 | |||
| 69101a63b4 | |||
| 31a0bcc5e8 | |||
| 0ad73d9129 | |||
| 10a0970da0 | |||
| 1562560f47 | |||
| 12e0882b81 | |||
| e208564be7 | |||
| a7a22cd209 | |||
| b17c11fc4b | |||
| 06af0b5e0c | |||
| 89fb130218 | |||
| 1205582081 | |||
| 9a17cb93be | |||
| c47901f7d3 | |||
| 47f995f384 | |||
| 051eb105cb | |||
| 80ed32aafa | |||
| 4b3ba728c3 | |||
| 6d1de464b5 | |||
| 616214d6d8 | |||
| b7c10389c9 | |||
| 3ebaba31ae | |||
| 22a5f08e8a | |||
| d93f64febb | |||
| b2350d3adb | |||
| b10f676cd1 | |||
| fd6f47bde3 | |||
| 4d71bd863f | |||
| c8e60a3e3e | |||
| 1b269e2748 | |||
| 47b2019f90 | |||
| 436295ef80 | |||
| 7f519fea0e | |||
| 5100475a17 | |||
| 63d806cce3 | |||
| fa47598b63 | |||
| fcaaa73734 | |||
| 7ad75dbcd2 | |||
| 31200b58ed | |||
| 08c4c2dcc8 | |||
| d99c83ac93 | |||
| fb104e86d7 | |||
| bd30579206 | |||
| c3816918a1 | |||
| c7b9d42ea8 | |||
| cd798d0ce5 | |||
| 5185ae2c09 |
+1
-1
@@ -11,7 +11,7 @@ install:
|
||||
- cmd: cd c:\tools\vcpkg\
|
||||
- cmd: git pull
|
||||
- cmd: bootstrap-vcpkg.bat -disableMetrics
|
||||
- cmd: vcpkg --triplet %PLATFORM%-windows-static install sdl2 sdl2-image sdl2-mixer[libflac,mpg123,libmodplug,libvorbis] sdl2-ttf gettext --recurse
|
||||
- cmd: vcpkg --triplet %PLATFORM%-windows-static install sdl2 sdl2-image sdl2-mixer[dynamic-load,libflac,mpg123,libmodplug,libvorbis] sdl2-ttf gettext --recurse
|
||||
build:
|
||||
project: /msvc-full-features/Cataclysm-vcpkg-static.sln
|
||||
parallel: true
|
||||
|
||||
@@ -46,6 +46,7 @@ modernize-*,\
|
||||
performance-*,\
|
||||
readability-*,\
|
||||
-readability-braces-around-statements,\
|
||||
-bugprone-branch-clone,\
|
||||
-bugprone-infinite-loop,\
|
||||
-bugprone-misplaced-widening-cast,\
|
||||
-bugprone-narrowing-conversions,\
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
/data/mods/speedydex/ @KorGgenT
|
||||
/data/mods/stats_through_kills/ @KorGgenT
|
||||
/data/mods/Dark-Skies-Above/ @ephemeralstoryteller
|
||||
/data/mods/No_Hope/ @Night-Pryanik
|
||||
|
||||
magic*.cpp @KorGgenT
|
||||
magic*.h @KorGgenT
|
||||
|
||||
@@ -111,13 +111,12 @@ Helpful pages:
|
||||
|
||||
3. Set commit message template.
|
||||
|
||||
$ cd Cataclysm-DDA
|
||||
# Changes the active directory in the prompt to the newly cloned "Cataclysm-DDA" directory
|
||||
$ git config --local commit.template .gitmessage
|
||||
# Set commit message template to the custom one in the repo
|
||||
|
||||
4. Add this repository as a remote.
|
||||
|
||||
$ cd Cataclysm-DDA
|
||||
# Changes the active directory in the prompt to the newly cloned "Cataclysm-DDA" directory
|
||||
$ git remote add -f upstream https://github.com/CleverRaven/Cataclysm-DDA.git
|
||||
# Assigns the original repository to a remote called "upstream"
|
||||
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
<!-- Please follow the template below -->
|
||||
|
||||
# Describe the bug
|
||||
|
||||
<!-- A clear and concise description of what the bug is. -->
|
||||
|
||||
|
||||
# Steps To Reproduce
|
||||
|
||||
<!-- Steps to reproduce the behavior:
|
||||
1. Make a player with a gun, magazine, and some ammo.
|
||||
2. Try to aim at a wall.
|
||||
3. There's no way to increase aim level. -->
|
||||
|
||||
|
||||
# Expected behavior
|
||||
|
||||
<!-- A clear and concise description of what you expected to happen.
|
||||
Ideally also describe *why* you expect it to happen. -->
|
||||
|
||||
|
||||
# Screenshots
|
||||
|
||||
<!-- **If applicable**, add screenshots to help explain your problem.
|
||||
|
||||
Do not take a screenshot of the crashing window. Please provide the crash logs in the "Additional context" -->
|
||||
|
||||
# Versions and configuration
|
||||
|
||||
<!-- Please complete the following information; you can now go to:
|
||||
- "Main menu (ESC) > Debug Menu > Info > Generate game report" to generate this report.
|
||||
- Please update your OS version with a more precise version.
|
||||
|
||||
- OS: [e.g. iOS 8 or Windows 10 or Ubuntu 18.04]
|
||||
- Game Version: [from the main menu, e.g. 0.C-29938-g90f5268437]
|
||||
- Graphics version: [Tiles or Terminal]
|
||||
- Ingame language: [Arabic or Bulgarian or Chinese (Simplified) or Chinese (Traditional) or Dutch or Esperanto or French or German or Italian (Italy) or Japanese or Korean or Polish or Portuguese (Brazil) or Russian or Serbian or Spanish (Argentina) or Spanish (Spain) or Turkish]
|
||||
- Mods loaded: [e.g.dda, boats, hacktheplanet, StatsThroughSkills]
|
||||
-->
|
||||
|
||||
# Additional context
|
||||
|
||||
<!-- Add any other context about the problem here.
|
||||
|
||||
Crash: if your problem refers to a crash, please add the following files to the "Additional Context" paragraph:
|
||||
- From the /config folder (you can zip them both together):
|
||||
- crash.log file.
|
||||
- debug.log file.
|
||||
- Your save file (zipped)
|
||||
|
||||
- note #1: you can drag and drop files in this issue post!
|
||||
- note #2: it is very important for us that you provide a save file in case of a crash. It really helps the developers
|
||||
to reproduce the bug and fix it. If possible, try to provide a save file that occurs in the right conditions, just
|
||||
before the crash happens. -->
|
||||
@@ -1,88 +0,0 @@
|
||||
name: Bug Report 🐛
|
||||
description: Create a report to help us improve
|
||||
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Please take the time to fill out all the fields below.
|
||||
|
||||
- type: textarea
|
||||
id: description-of-bug
|
||||
attributes:
|
||||
label: Describe the bug
|
||||
description: A clear and concise description of what the bug is.
|
||||
placeholder: There is no way for aim level to increase.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: steps-to-reproduce
|
||||
attributes:
|
||||
label: Steps To Reproduce
|
||||
description: Steps to reproduce the behavior.
|
||||
placeholder: |
|
||||
1. Make a player with a gun, magazine, and some ammo.
|
||||
2. Try to aim at a wall.
|
||||
3. There's no way to increase aim level.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: expected-behavior
|
||||
attributes:
|
||||
label: Expected behavior
|
||||
description: |
|
||||
A clear and concise description of what you expected to happen.
|
||||
Ideally also describe *why* you expect it to happen.
|
||||
placeholder: |
|
||||
I expected that aim level would increase, because all other skills can increase in level.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: screenshots
|
||||
attributes:
|
||||
label: Screenshots
|
||||
description: |
|
||||
**If applicable**, add screenshots to help explain your problem.
|
||||
Do not take a screenshot of the crashing window. Please provide the crash logs in the "Additional context"
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
id: versions-and-config
|
||||
attributes:
|
||||
label: Versions and configuration
|
||||
description: |
|
||||
The following information should consist only of the automated game report generated by the game; please put further information below.
|
||||
To generate a report: "Main menu (ESC) > Debug Menu > Info > Generate game report".
|
||||
placeholder: |
|
||||
- OS: [e.g. iOS 8 or Windows 10 or Ubuntu 18.04]
|
||||
- Game Version: [e.g. 0.C-29938-g90f5268437]
|
||||
- Graphics version: [Tiles or Terminal]
|
||||
- Ingame language: [Arabic or Bulgarian or Chinese (Simplified) or Chinese (Traditional) or Dutch or Esperanto or French or German or Italian (Italy) or Japanese or Korean or Polish or Portuguese (Brazil) or Russian or Serbian or Spanish (Argentina) or Spanish (Spain) or Turkish]
|
||||
- Mods loaded: [e.g. dda, boats, hacktheplanet, StatsThroughSkills]
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: additional-context
|
||||
attributes:
|
||||
label: Additional context
|
||||
description: |
|
||||
Add any other context about the problem here.
|
||||
placeholder: |
|
||||
Crash: if your problem refers to a crash, please add the following files to the "Additional Context" paragraph:
|
||||
- From the /config folder (you can zip them both together):
|
||||
- crash.log file.
|
||||
- debug.log file.
|
||||
- Your save file (zipped)
|
||||
|
||||
- note #1: you can drag and drop files in this issue post!
|
||||
- note #2: it is very important for us that you provide a save file in case of a crash. It really helps the developers
|
||||
to reproduce the bug and fix it. If possible, try to provide a save file that occurs in the right conditions, just
|
||||
before the crash happens.
|
||||
validations:
|
||||
required: false
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
<!-- HOW TO USE: Under each "#### Heading" below, enter information relevant to your pull request.
|
||||
Leave the headings unless they don't apply to your PR.
|
||||
|
||||
Please read carefully and don't delete the comments delimited by "< !--" and "-- >"
|
||||
Once a pull request is submitted automatic stylistic and consistency checks will be performed on the PR's changes.
|
||||
The results of these can be either seen under the "Files changed" section of a PR or in the check's details.
|
||||
|
||||
Leave the headings unless they don't apply to your PR, and remove the comment blocks (surrounded with <!–– and ––>) when you are done.
|
||||
NOTE: Please grant permission for repository maintainers to edit your PR. It is EXTREMELY common for PRs to be held up due to trivial changes being requested and the author being unavailable to make them. -->
|
||||
|
||||
#### Summary
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||
set(VCPKG_CRT_LINKAGE static)
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
|
||||
set(VCPKG_BUILD_TYPE release)
|
||||
@@ -1,5 +0,0 @@
|
||||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
set(VCPKG_LIBRARY_LINKAGE dynamic)
|
||||
|
||||
set(VCPKG_BUILD_TYPE release)
|
||||
@@ -1,5 +0,0 @@
|
||||
set(VCPKG_TARGET_ARCHITECTURE x86)
|
||||
set(VCPKG_CRT_LINKAGE static)
|
||||
set(VCPKG_LIBRARY_LINKAGE static)
|
||||
|
||||
set(VCPKG_BUILD_TYPE release)
|
||||
@@ -1,5 +0,0 @@
|
||||
set(VCPKG_TARGET_ARCHITECTURE x86)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
set(VCPKG_LIBRARY_LINKAGE dynamic)
|
||||
|
||||
set(VCPKG_BUILD_TYPE release)
|
||||
@@ -4,21 +4,43 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
- 0.F-dev
|
||||
paths:
|
||||
- '**.cpp'
|
||||
- '**.h'
|
||||
- '**.c'
|
||||
- '**/CMakeLists.txt'
|
||||
- '**/Makefile'
|
||||
- '**.hpp'
|
||||
- '**.cmake'
|
||||
- '.github/workflows/CBA.yml'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- 0.F-dev
|
||||
paths:
|
||||
- '**.cpp'
|
||||
- '**.h'
|
||||
- '**.c'
|
||||
- '**/CMakeLists.txt'
|
||||
- '**/Makefile'
|
||||
- '**.hpp'
|
||||
- '**.cmake'
|
||||
- '.github/workflows/CBA.yml'
|
||||
|
||||
# Mixing in event_name so that a master push and a workflow dispatch can run at the same time.
|
||||
concurrency: clang_build_analyzer-${{ github.event_name }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: checkout repository
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: install dependencies
|
||||
run: sudo apt-get install libncursesw5-dev gettext
|
||||
run: sudo apt-get install libncursesw5-dev
|
||||
- name: Prepare Build Analyzer
|
||||
run: |
|
||||
cd
|
||||
|
||||
@@ -1,24 +1,15 @@
|
||||
name: astyle
|
||||
|
||||
on: pull_request
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.cpp'
|
||||
- '**.h'
|
||||
- '**.c'
|
||||
|
||||
jobs:
|
||||
skip-duplicates:
|
||||
continue-on-error: true
|
||||
runs-on: ubuntu-latest
|
||||
# Map a step output to a job output
|
||||
outputs:
|
||||
should_skip: ${{ steps.skip_check.outputs.should_skip }}
|
||||
steps:
|
||||
- id: skip_check
|
||||
uses: fkirc/skip-duplicate-actions@master
|
||||
with:
|
||||
cancel_others: 'true'
|
||||
paths: '[".github/workflows/astyle.yml", "Makefile", ".astylerc", "**.cpp", "**.h", "**.c"]'
|
||||
astyle-code:
|
||||
name: astyle check
|
||||
needs: skip-duplicates
|
||||
if: ${{ needs.skip-duplicates.outputs.should_skip != 'true' }}
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
name: Basic Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
skip-duplicates:
|
||||
continue-on-error: true
|
||||
runs-on: ubuntu-latest
|
||||
# Map a step output to a job output
|
||||
outputs:
|
||||
should_skip: ${{ steps.skip_check.outputs.should_skip }}
|
||||
steps:
|
||||
- id: skip_check
|
||||
uses: fkirc/skip-duplicate-actions@master
|
||||
with:
|
||||
cancel_others: 'true'
|
||||
paths_ignore: '["android/**", "build-data/osx/**", "doc/**", "doxygen_doc/**", "lgtm/**", "msvc-**", "object_creator/**", "tools/**", "utilities/**"]'
|
||||
basic-build:
|
||||
needs: skip-duplicates
|
||||
if: ${{ needs.skip-duplicates.outputs.should_skip != 'true' }}
|
||||
|
||||
name: Basic Build and Test (GCC 9, Curses, LTO)
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
COMPILER: g++-9
|
||||
TEST_STAGE: 1
|
||||
EXTRA_TEST_OPTS: --error-format=github-action
|
||||
NATIVE: linux64
|
||||
GOLD: 1
|
||||
LTO: 1
|
||||
RELEASE: 1
|
||||
steps:
|
||||
- name: checkout repository
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: install dependencies (ubuntu)
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libncursesw5-dev ccache gettext parallel
|
||||
- name: prepare
|
||||
run: bash ./build-scripts/requirements.sh
|
||||
- name: Get Date
|
||||
id: get-date
|
||||
run: |
|
||||
echo "::set-output name=date::$(/bin/date -u "+%Y%m%d%H%M")"
|
||||
shell: bash
|
||||
- name: ccache cache files (ubuntu)
|
||||
if: runner.os == 'Linux'
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ccache-linux-g++-9-${{ steps.get-date.outputs.date }}
|
||||
restore-keys: |
|
||||
ccache-linux-g++-9-
|
||||
- uses: ammaraskar/gcc-problem-matcher@master
|
||||
- name: build and test
|
||||
run: bash ./build-scripts/build.sh
|
||||
- name: upload artifacts if failed
|
||||
uses: actions/upload-artifact@v2
|
||||
if: failure()
|
||||
with:
|
||||
name: cata_test
|
||||
path: tests/cata_test
|
||||
if-no-files-found: ignore
|
||||
@@ -4,28 +4,30 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
- 0.F-dev
|
||||
paths:
|
||||
- '**.cpp'
|
||||
- '**.h'
|
||||
- '**.c'
|
||||
- '**/CMakeLists.txt'
|
||||
- '**/Makefile'
|
||||
- '**.hpp'
|
||||
- '**.cmake'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- 0.F-dev
|
||||
paths:
|
||||
- '**.cpp'
|
||||
- '**.h'
|
||||
- '**.c'
|
||||
- '**/CMakeLists.txt'
|
||||
- '**/Makefile'
|
||||
- '**.hpp'
|
||||
- '**.cmake'
|
||||
|
||||
jobs:
|
||||
skip-duplicates:
|
||||
continue-on-error: true
|
||||
runs-on: ubuntu-latest
|
||||
# Map a step output to a job output
|
||||
outputs:
|
||||
should_skip: ${{ steps.skip_check.outputs.should_skip }}
|
||||
steps:
|
||||
- id: skip_check
|
||||
uses: fkirc/skip-duplicate-actions@master
|
||||
with:
|
||||
cancel_others: 'true'
|
||||
paths: '[ "**.cpp", "**.h", "**.c", "**/CMakeLists.txt", "**/Makefile", "**.hpp", "**.cmake" ]'
|
||||
build:
|
||||
needs: skip-duplicates
|
||||
if: ${{ needs.skip-duplicates.outputs.should_skip != 'true' }}
|
||||
|
||||
runs-on: ubuntu-20.04
|
||||
env:
|
||||
CMAKE: 1
|
||||
|
||||
@@ -4,6 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- 0.F-dev
|
||||
paths:
|
||||
- '**/CMakeLists.txt'
|
||||
- '**.cmake'
|
||||
@@ -11,6 +12,7 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- 0.F-dev
|
||||
paths:
|
||||
- '**/CMakeLists.txt'
|
||||
- '**.cmake'
|
||||
|
||||
@@ -4,11 +4,13 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- 0.F-dev
|
||||
paths:
|
||||
- '**.py'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- 0.F-dev
|
||||
paths:
|
||||
- '**.py'
|
||||
|
||||
|
||||
@@ -1,26 +1,15 @@
|
||||
name: JSON Validation
|
||||
|
||||
on: pull_request
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.json'
|
||||
|
||||
jobs:
|
||||
skip-duplicates:
|
||||
continue-on-error: true
|
||||
runs-on: ubuntu-latest
|
||||
# Map a step output to a job output
|
||||
outputs:
|
||||
should_skip: ${{ steps.skip_check.outputs.should_skip }}
|
||||
steps:
|
||||
- id: skip_check
|
||||
uses: fkirc/skip-duplicate-actions@master
|
||||
with:
|
||||
cancel_others: 'true'
|
||||
paths: '["**.json"]'
|
||||
style-json:
|
||||
name: JSON style check
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
needs: skip-duplicates
|
||||
if: ${{ needs.skip-duplicates.outputs.should_skip != 'true' }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
+70
-118
@@ -4,113 +4,83 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- 0.F-dev
|
||||
paths-ignore:
|
||||
- 'android/**'
|
||||
- 'build-data/osx/**'
|
||||
- 'doc/**'
|
||||
- 'doxygen_doc/**'
|
||||
- 'lgtm/**'
|
||||
- 'msvc-full-features/**'
|
||||
- 'msvc-object_creator/**'
|
||||
- 'object_creator/**'
|
||||
- 'tools/**'
|
||||
- 'utilities/**'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- 0.F-dev
|
||||
paths-ignore:
|
||||
- 'android/**'
|
||||
- 'build-data/osx/**'
|
||||
- 'doc/**'
|
||||
- 'doxygen_doc/**'
|
||||
- 'lgtm/**'
|
||||
- 'msvc-full-features/**'
|
||||
- 'msvc-object_creator/**'
|
||||
- 'object_creator/**'
|
||||
- 'tools/**'
|
||||
- 'utilities/**'
|
||||
|
||||
# Overall strategy for what sorts of builds to include:
|
||||
# We want a build for the newest and oldest supported version of each compiler.
|
||||
# We want a build for each platform.
|
||||
# We also want to ensure that each of the following tweaks are covered in at
|
||||
# least one PR build:
|
||||
# - TILES=1
|
||||
# - SOUND=1
|
||||
# - RELEASE=1
|
||||
# - CMAKE=1
|
||||
# - LOCALIZE=0
|
||||
# - LTO=1
|
||||
# - Tests with important mods enabled (Magiclysm)
|
||||
# - A clang-tidy run
|
||||
# - SANITIZE=address,undefined
|
||||
# We try to minimize the number of builds subject to those constraints.
|
||||
#
|
||||
# To see what toolchains are available, the following may be useful:
|
||||
# https://launchpad.net/%7Eubuntu-toolchain-r/+archive/ubuntu/test/+index
|
||||
# https://apt.llvm.org/
|
||||
|
||||
jobs:
|
||||
skip-duplicates:
|
||||
continue-on-error: true
|
||||
runs-on: ubuntu-latest
|
||||
# Map a step output to a job output
|
||||
outputs:
|
||||
should_skip: ${{ steps.skip_check.outputs.should_skip }}
|
||||
steps:
|
||||
- id: skip_check
|
||||
uses: fkirc/skip-duplicate-actions@master
|
||||
with:
|
||||
cancel_others: 'true'
|
||||
paths_ignore: '["android/**", "build-data/osx/**", "doc/**", "doxygen_doc/**", "lgtm/**", "msvc-**", "object_creator/**", "tools/**", "utilities/**", "data/**"]'
|
||||
skip-duplicates-mods:
|
||||
continue-on-error: true
|
||||
runs-on: ubuntu-latest
|
||||
# Map a step output to a job output
|
||||
outputs:
|
||||
should_skip_mods: ${{ steps.skip_check.outputs.should_skip }}
|
||||
steps:
|
||||
- id: skip_check
|
||||
uses: fkirc/skip-duplicate-actions@master
|
||||
with:
|
||||
cancel_others: 'true'
|
||||
paths_ignore: '["android/**", "build-data/osx/**", "doc/**", "doxygen_doc/**", "lgtm/**", "msvc-**", "object_creator/**", "tools/**", "utilities/**"]'
|
||||
varied_builds:
|
||||
needs: skip-duplicates
|
||||
strategy:
|
||||
max-parallel: 1
|
||||
matrix:
|
||||
release: [0]
|
||||
cmake: [0]
|
||||
tiles: [1]
|
||||
sound: [0]
|
||||
localize: [1]
|
||||
native: [linux64]
|
||||
|
||||
include:
|
||||
- compiler: clang++-12
|
||||
os: ubuntu-latest
|
||||
sanitize: address
|
||||
mods: --mods=magiclysm
|
||||
title: Clang 12, Ubuntu, Tiles, ASan
|
||||
|
||||
- compiler: g++-11
|
||||
- compiler: g++-9
|
||||
os: ubuntu-latest
|
||||
cmake: 0
|
||||
tiles: 0
|
||||
sanitize: address
|
||||
title: GCC 11, Ubuntu, Curses, ASan
|
||||
|
||||
- compiler: clang++
|
||||
os: macos-10.15
|
||||
native: osx
|
||||
sanitize: undefined
|
||||
tiles: 1
|
||||
sound: 1
|
||||
title: Clang 12, macOS 10.15, Tiles, Sound, UBSan
|
||||
|
||||
- compiler: g++
|
||||
os: ubuntu-latest
|
||||
native:
|
||||
tiles: 1
|
||||
sound: 1
|
||||
test-stage: 1
|
||||
title: GCC 11, Ubuntu cross-compile to MinGW-Win64, Tiles, Sound
|
||||
ldflags: -static-libgcc -static-libstdc++
|
||||
mxe_target: i686-w64-mingw32.static.gcc11
|
||||
wine: wine
|
||||
|
||||
- compiler: clang++-6.0
|
||||
os: ubuntu-18.04
|
||||
tiles: 0
|
||||
release: 1
|
||||
title: Clang 6, Ubuntu, Curses, Release
|
||||
|
||||
native: linux64
|
||||
gold: 1
|
||||
lto: 1
|
||||
title: GCC 9, Ubuntu, Curses, LTO
|
||||
- compiler: g++-7
|
||||
os: ubuntu-18.04
|
||||
os: ubuntu-latest
|
||||
cmake: 1
|
||||
tiles: 1
|
||||
sound: 1
|
||||
localize: 0
|
||||
title: GCC 7, Ubuntu, Tiles, Sound, CMake
|
||||
|
||||
native: linux64
|
||||
title: GCC 7, Ubuntu, Tiles, CMake
|
||||
- compiler: g++-8
|
||||
os: ubuntu-latest
|
||||
cmake: 0
|
||||
tiles: 1
|
||||
sanitize: address
|
||||
native: linux64
|
||||
title: GCC 8, Ubuntu, Tiles, ASan
|
||||
- compiler: clang++-12
|
||||
os: ubuntu-latest
|
||||
cmake: 0
|
||||
tiles: 1
|
||||
sanitize: address,undefined
|
||||
native: linux64
|
||||
title: Clang 12, Ubuntu, Tiles, ASan, UBSan
|
||||
- compiler: clang++
|
||||
os: macos-10.15
|
||||
cmake: 0
|
||||
tiles: 1
|
||||
native: osx
|
||||
title: Clang 12, macOS 10.15, Tiles
|
||||
- compiler: g++
|
||||
os: ubuntu-latest
|
||||
cmake: 0
|
||||
tiles: 1
|
||||
title: GCC, Ubuntu cross-compile to MinGW-Win64, Tiles
|
||||
ldflags: -static-libgcc -static-libstdc++
|
||||
mxe_target: i686-w64-mingw32.static
|
||||
wine: wine
|
||||
name: ${{ matrix.title }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
@@ -120,60 +90,43 @@ jobs:
|
||||
WINE: ${{ matrix.wine }}
|
||||
OS: ${{ matrix.os }}
|
||||
TILES: ${{ matrix.tiles }}
|
||||
SOUND: ${{ matrix.sound }}
|
||||
LOCALIZE: ${{ matrix.localize }}
|
||||
MODS: ${{ matrix.mods }}
|
||||
SOUND: ${{ matrix.tiles }}
|
||||
SANITIZE: ${{ matrix.sanitize }}
|
||||
TEST_STAGE: ${{ matrix.test-stage }}
|
||||
LDFLAGS: ${{ matrix.ldflags }}
|
||||
EXTRA_TEST_OPTS: --error-format=github-action
|
||||
NUM_TEST_JOBS: ${{ matrix.num_test_jobs }}
|
||||
NATIVE: ${{ matrix.native }}
|
||||
GOLD: ${{ matrix.gold }}
|
||||
LTO: ${{ matrix.lto }}
|
||||
RELEASE: ${{ matrix.release }}
|
||||
SKIP: ${{ needs.skip-duplicates.outputs.should_skip == 'true' || ( matrix.mods != 0 && needs.skip-duplicates-mods.outputs.should_skip_mods == 'true' ) }}
|
||||
RELEASE: 1
|
||||
steps:
|
||||
- name: checkout repository
|
||||
if: ${{ env.SKIP == 'false' }}
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: install dependencies (ubuntu)
|
||||
if: ${{ env.SKIP == 'false' && runner.os == 'Linux' }}
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libncursesw5-dev libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev \
|
||||
libsdl2-mixer-dev libpulse-dev ccache gettext parallel
|
||||
- name: install old GCC (Ubuntu)
|
||||
if: ${{ env.SKIP == 'false' && runner.os == 'Linux' && (matrix.compiler == 'g++-7' || matrix.compiler == 'g++-8') }}
|
||||
- name: install old GCC (ubuntu)
|
||||
if: runner.os == 'Linux' && (matrix.compiler == 'g++-7' || matrix.compiler == 'g++-8')
|
||||
run: |
|
||||
sudo apt-get install g++-7 g++-8
|
||||
- name: install new GCC (Ubuntu)
|
||||
if: ${{ env.SKIP == 'false' && runner.os == 'Linux' && (matrix.compiler == 'g++-11') }}
|
||||
run: |
|
||||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
|
||||
sudo apt-get update
|
||||
sudo apt-get install g++-11
|
||||
- name: install old Clang (Ubuntu)
|
||||
if: ${{ env.SKIP == 'false' && runner.os == 'Linux' && (matrix.compiler == 'clang++-6.0') }}
|
||||
run: |
|
||||
sudo apt-get install clang-6.0
|
||||
- name: install dependencies (mac)
|
||||
if: ${{ env.SKIP == 'false' && runner.os == 'macOS' }}
|
||||
if: runner.os == 'macOS'
|
||||
run: |
|
||||
HOMEBREW_NO_AUTO_UPDATE=yes HOMEBREW_NO_INSTALL_CLEANUP=yes brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer gettext ccache parallel
|
||||
- name: prepare
|
||||
if: ${{ env.SKIP == 'false' }}
|
||||
run: bash ./build-scripts/requirements.sh
|
||||
- name: Get Date
|
||||
id: get-date
|
||||
if: ${{ env.SKIP == 'false' }}
|
||||
run: |
|
||||
echo "::set-output name=date::$(/bin/date -u "+%Y%m%d%H%M")"
|
||||
shell: bash
|
||||
- name: ccache cache files (ubuntu)
|
||||
if: ${{ env.SKIP == 'false' && runner.os == 'Linux' }}
|
||||
if: runner.os == 'Linux'
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.ccache
|
||||
@@ -181,7 +134,7 @@ jobs:
|
||||
restore-keys: |
|
||||
ccache-linux-${{ matrix.compiler }}-
|
||||
- name: ccache cache files (mac)
|
||||
if: ${{ env.SKIP == 'false' && runner.os == 'macOS' }}
|
||||
if: runner.os == 'macOS'
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: /Users/runner/Library/Caches/ccache
|
||||
@@ -190,12 +143,11 @@ jobs:
|
||||
ccache-mac-${{ matrix.compiler }}-
|
||||
- uses: ammaraskar/gcc-problem-matcher@master
|
||||
- name: build and test
|
||||
if: ${{ env.SKIP == 'false' }}
|
||||
run: bash ./build-scripts/build.sh
|
||||
- name: upload artifacts if failed
|
||||
uses: actions/upload-artifact@v2
|
||||
if: failure()
|
||||
with:
|
||||
name: cata_test
|
||||
path: tests/cata_test*
|
||||
path: tests/cata_test
|
||||
if-no-files-found: ignore
|
||||
|
||||
@@ -1,114 +0,0 @@
|
||||
name: Cataclysm Windows build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- 'android/**'
|
||||
- 'build-data/osx/**'
|
||||
- 'doc/**'
|
||||
- 'doxygen_doc/**'
|
||||
- 'gfx/**'
|
||||
- 'lang/**'
|
||||
- 'lgtm/**'
|
||||
- 'msvc-object_creator/**'
|
||||
- 'object_creator/**'
|
||||
- 'tools/**'
|
||||
- '!tools/format/**'
|
||||
- 'utilities/**'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- 'android/**'
|
||||
- 'build-data/osx/**'
|
||||
- 'doc/**'
|
||||
- 'doxygen_doc/**'
|
||||
- 'gfx/**'
|
||||
- 'lang/**'
|
||||
- 'lgtm/**'
|
||||
- 'msvc-object_creator/**'
|
||||
- 'object_creator/**'
|
||||
- 'tools/**'
|
||||
- '!tools/format/**'
|
||||
- 'utilities/**'
|
||||
|
||||
env:
|
||||
# There's not enough disk space to build both release and debug versions of
|
||||
# our dependencies, so we hack the triplet file to build only release versions
|
||||
# Have to use github.workspace because runner namespace isn't available yet.
|
||||
VCPKG_OVERLAY_TRIPLETS: ${{ github.workspace }}\.github\vcpkg_triplets
|
||||
|
||||
jobs:
|
||||
build_catatclysm:
|
||||
name: Build
|
||||
runs-on: windows-2019
|
||||
|
||||
steps:
|
||||
- name: checkout repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
|
||||
- name: Restore artifacts, or run vcpkg, build and cache artifacts
|
||||
uses: lukka/run-vcpkg@main
|
||||
id: runvcpkg
|
||||
with:
|
||||
additionalCachedPaths: '${{ runner.workspace }}/Cataclysm-DDA/msvc-full-features/vcpkg_installed'
|
||||
appendedCacheKey: ${{ hashFiles( 'msvc-full-features/vcpkg.json', '.github/vcpkg_triplets/**' ) }}-x64
|
||||
setupOnly: true
|
||||
vcpkgDirectory: '${{ runner.workspace }}/b/vcpkg'
|
||||
# We have to use at least this version of vcpkg to include fixes for yasm-tool's
|
||||
# availability only as an x86 host tool. Keep it in sync with the builtin-baseline
|
||||
# field in vcpkg.json. Caching happens as a post-action which runs at the end of
|
||||
# the whole workflow, after vcpkg install happens during msbuild run.
|
||||
vcpkgGitCommitId: '49b67d9cb856424ff69f10e7721aec5299624268'
|
||||
|
||||
- name: Integrate vcpkg
|
||||
run: |
|
||||
vcpkg integrate install
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
cd msvc-full-features
|
||||
msbuild -m -p:Configuration=Release -p:Platform=x64 "-target:Cataclysm-vcpkg-static;Cataclysm-test-vcpkg-static;JsonFormatter-vcpkg-static" Cataclysm-vcpkg-static.sln
|
||||
|
||||
- name: Dump logs if build failed
|
||||
if: failure()
|
||||
run: |
|
||||
echo =================================================
|
||||
Get-ChildItem "${{ runner.workspace }}/Cataclysm-DDA/msvc-full-features/vcpkg_installed" -Recurse
|
||||
echo =================================================
|
||||
Get-ChildItem "${{ runner.workspace }}/b/vcpkg/buildtrees" |
|
||||
Foreach-Object {
|
||||
Get-ChildItem $_.FullName -Filter *.log |
|
||||
Foreach-Object {
|
||||
echo =================================================
|
||||
echo $_.FullName
|
||||
echo =================================================
|
||||
type $_.FullName
|
||||
}
|
||||
}
|
||||
|
||||
- name: Compile .mo files for localization
|
||||
run: |
|
||||
& "C:\msys64\mingw64\bin\mingw32-make" -C lang -j2
|
||||
mkdir -p ./data/mods/TEST_DATA/lang/mo/ru/LC_MESSAGES -ErrorAction SilentlyContinue
|
||||
msgfmt -f -o ./data/mods/TEST_DATA/lang/mo/ru/LC_MESSAGES/TEST_DATA.mo ./data/mods/TEST_DATA/lang/po/ru.po
|
||||
|
||||
- name: Enable GitHub Actions problem matchers
|
||||
run: |
|
||||
Write-Output "::add-matcher::build-scripts/problem-matchers/catch2.json"
|
||||
Write-Output "::add-matcher::build-scripts/problem-matchers/debugmsg.json"
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
.\Cataclysm-test-vcpkg-static-Release-x64.exe --min-duration 0.2 --rng-seed time
|
||||
|
||||
- name: Clean
|
||||
run: |
|
||||
Get-ChildItem -Path Cataclysm-lib-vcpkg-static-Release-x64.* | Foreach-Object { rm $_.FullName }
|
||||
@@ -1,101 +0,0 @@
|
||||
name: ObjectCreator Windows build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- 'android/**'
|
||||
- 'build-data/osx/**'
|
||||
- 'data/**'
|
||||
- 'doc/**'
|
||||
- 'doxygen_doc/**'
|
||||
- 'gfx/**'
|
||||
- 'lang/**'
|
||||
- 'lgtm/**'
|
||||
- 'tests/**'
|
||||
- 'tools/**'
|
||||
- 'utilities/**'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- 'android/**'
|
||||
- 'build-data/osx/**'
|
||||
- 'data/**'
|
||||
- 'doc/**'
|
||||
- 'doxygen_doc/**'
|
||||
- 'gfx/**'
|
||||
- 'lang/**'
|
||||
- 'lgtm/**'
|
||||
- 'src/**'
|
||||
- '!src/messages.*'
|
||||
- 'tests/**'
|
||||
- 'tools/**'
|
||||
- 'utilities/**'
|
||||
|
||||
env:
|
||||
# There's not enough disk space to build both release and debug versions of
|
||||
# our dependencies, so we hack the triplet file to build only release versions
|
||||
# Have to use github.workspace because runner namespace isn't available yet.
|
||||
VCPKG_OVERLAY_TRIPLETS: ${{ github.workspace }}\.github\vcpkg_triplets
|
||||
|
||||
jobs:
|
||||
build_object_creator:
|
||||
name: Build
|
||||
runs-on: windows-2019
|
||||
|
||||
steps:
|
||||
- name: checkout repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
|
||||
- name: Restore artifacts, or run vcpkg, build and cache artifacts
|
||||
uses: lukka/run-vcpkg@main
|
||||
id: runvcpkg
|
||||
with:
|
||||
additionalCachedPaths: '${{ runner.workspace }}/Cataclysm-DDA/msvc-full-features/vcpkg_installed;${{ runner.workspace }}/Cataclysm-DDA/msvc-object_creator/vcpkg_installed'
|
||||
appendedCacheKey: ${{ hashFiles( '$msvc-full-features/vcpkg.json', 'msvc-object_creator/vcpkg.json', '.github/vcpkg_triplets/**' ) }}-x64
|
||||
setupOnly: true
|
||||
vcpkgDirectory: '${{ runner.workspace }}/b/vcpkg'
|
||||
# We have to use at least this version of vcpkg to include fixes for yasm-tool's
|
||||
# availability only as an x86 host tool. Keep it in sync with the builtin-baseline
|
||||
# field in vcpkg.json. Caching happens as a post-action which runs at the end of
|
||||
# the whole workflow, after vcpkg install happens during msbuild run.
|
||||
vcpkgGitCommitId: '49b67d9cb856424ff69f10e7721aec5299624268'
|
||||
|
||||
- name: Integrate vcpkg
|
||||
run: |
|
||||
vcpkg integrate install
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
cd msvc-object_creator
|
||||
msbuild -m -p:Configuration=Release -p:Platform=x64 ObjectCreator-vcpkg-static.sln
|
||||
|
||||
- name: Dump logs if build failed
|
||||
if: failure()
|
||||
run: |
|
||||
echo =================================================
|
||||
Get-ChildItem "${{ runner.workspace }}/Cataclysm-DDA/msvc-full-features/vcpkg_installed" -Recurse
|
||||
echo =================================================
|
||||
Get-ChildItem "${{ runner.workspace }}/Cataclysm-DDA/msvc-object_creator/vcpkg_installed" -Recurse
|
||||
echo =================================================
|
||||
Get-ChildItem "${{ runner.workspace }}/b/vcpkg/buildtrees" |
|
||||
Foreach-Object {
|
||||
Get-ChildItem $_.FullName -Filter *.log |
|
||||
Foreach-Object {
|
||||
echo =================================================
|
||||
echo $_.FullName
|
||||
echo =================================================
|
||||
type $_.FullName
|
||||
}
|
||||
}
|
||||
|
||||
- name: Clean
|
||||
run: |
|
||||
Get-ChildItem -Path Cataclysm-lib-vcpkg-static-Release-x64.*,ObjectCreator-vcpkg-static-Release-x64.* | Foreach-Object { rm $_.FullName }
|
||||
@@ -3,6 +3,7 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- 0.F-dev
|
||||
types: [opened, edited, synchronize]
|
||||
jobs:
|
||||
validate:
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
name: "Pull translations from Transifex"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "42 1 * * 6"
|
||||
|
||||
jobs:
|
||||
pull-translations:
|
||||
if: github.repository == 'CleverRaven/Cataclysm-DDA'
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: "Install dependencies"
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install gettext python3-pip
|
||||
sudo pip3 install transifex-client
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: master
|
||||
fetch-depth: 0
|
||||
- name: "Get current date"
|
||||
uses: 1466587594/get-current-time@v2
|
||||
id: current-date
|
||||
with:
|
||||
format: 'DD MMMM YYYY'
|
||||
- name: "Pull translations"
|
||||
env:
|
||||
TOKEN: ${{ secrets.TX_TOKEN }}
|
||||
run: |
|
||||
export TX_TOKEN=$TOKEN
|
||||
rm lang/po/*.po
|
||||
until tx pull -a
|
||||
do
|
||||
echo "Retry in 10 seconds..."
|
||||
sleep 10
|
||||
done
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v3.10.0
|
||||
with:
|
||||
commit-message: Routine i18n updates on ${{ steps.current-date.outputs.formattedTime }}
|
||||
committer: Brett Dong (BOT) <brett.browning.dong@gmail.com>
|
||||
author: Brett Dong (BOT) <brett.browning.dong@gmail.com>
|
||||
token: ${{ secrets.TX_PR_CREATOR }}
|
||||
branch: i18n
|
||||
delete-branch: true
|
||||
base: master
|
||||
title: Routine i18n updates on ${{ steps.current-date.outputs.formattedTime }}
|
||||
body: "#### Summary\nNone"
|
||||
labels: Translation
|
||||
@@ -1,55 +0,0 @@
|
||||
name: "Push translation template"
|
||||
|
||||
concurrency: push_transifex
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '**.json'
|
||||
- 'src/**.cpp'
|
||||
- 'src/**.h'
|
||||
- 'lang/extract_json_strings.py'
|
||||
- 'lang/strip_line_numbers.py'
|
||||
- 'lang/update_pot.sh'
|
||||
- 'lang/unicode_check.py'
|
||||
|
||||
|
||||
jobs:
|
||||
push-template:
|
||||
if: github.repository == 'CleverRaven/Cataclysm-DDA'
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: "Install dependencies"
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install gettext python3-pip
|
||||
sudo pip3 install transifex-client
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v2
|
||||
- name: "Generate translation template"
|
||||
run: |
|
||||
lang/update_pot.sh
|
||||
- name: "Set up Transifex token"
|
||||
env:
|
||||
TX_TOKEN: ${{ secrets.TX_TOKEN }}
|
||||
run: |
|
||||
cat << EOF > ~/.transifexrc
|
||||
[https://www.transifex.com]
|
||||
api_hostname = https://api.transifex.com
|
||||
hostname = https://www.transifex.com
|
||||
password = $TX_TOKEN
|
||||
username = api
|
||||
EOF
|
||||
- name: "Push translation template to Transifex server"
|
||||
uses: nick-invision/retry@v2
|
||||
with:
|
||||
timeout_minutes: 10
|
||||
max_attempts: 5
|
||||
retry_on: error
|
||||
command: |
|
||||
tx push --source --no-interactive --resource cataclysm-dda.master-cataclysm-dda
|
||||
- name: Sleep for 5 minutes
|
||||
run: sleep 5m
|
||||
shell: bash
|
||||
@@ -60,20 +60,6 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- name: Windows Tiles x64 MSVC
|
||||
artifact: windows-tiles-x64-msvc
|
||||
arch: x64
|
||||
os: windows-2019
|
||||
mxe: none
|
||||
ext: zip
|
||||
content: application/zip
|
||||
- name: Windows Tiles x32 MSVC
|
||||
artifact: windows-tiles-x32-msvc
|
||||
arch: x86
|
||||
os: windows-2019
|
||||
mxe: none
|
||||
ext: zip
|
||||
content: application/zip
|
||||
- name: Windows Tiles x64
|
||||
mxe: x86_64
|
||||
artifact: windows-tiles-x64
|
||||
@@ -141,28 +127,7 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install dependencies (windows msvc) (1/3)
|
||||
if: runner.os == 'Windows'
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
- name: Install dependencies (windows msvc) (2/3)
|
||||
if: runner.os == 'Windows'
|
||||
uses: lukka/run-vcpkg@main
|
||||
id: runvcpkg
|
||||
with:
|
||||
additionalCachedPaths: '${{ runner.workspace }}/Cataclysm-DDA/msvc-full-features/vcpkg_installed'
|
||||
appendedCacheKey: ${{ hashFiles( 'msvc-full-features/vcpkg.json', '.github/vcpkg_triplets/**' ) }}-${{ matrix.arch }}
|
||||
setupOnly: true
|
||||
vcpkgDirectory: '${{ runner.workspace }}/b/vcpkg'
|
||||
# We have to use at least this version of vcpkg to include fixes for yasm-tool's
|
||||
# availability only as an x86 host tool. Keep it in sync with the builtin-baseline
|
||||
# field in vcpkg.json. Caching happens as a post-action which runs at the end of
|
||||
# the whole workflow, after vcpkg install happens during msbuild run.
|
||||
vcpkgGitCommitId: '49b67d9cb856424ff69f10e7721aec5299624268'
|
||||
- name: Install dependencies (windows msvc) (3/3)
|
||||
if: runner.os == 'Windows'
|
||||
run: |
|
||||
vcpkg integrate install
|
||||
- name: Install dependencies (windows mxe)
|
||||
- name: Install dependencies (windows)
|
||||
if: matrix.mxe != 'none'
|
||||
run: |
|
||||
sudo apt install astyle autoconf automake autopoint bash bison bzip2 cmake flex gettext git g++ gperf intltool \
|
||||
@@ -171,13 +136,11 @@ jobs:
|
||||
- name: Install MXE
|
||||
if: matrix.mxe != 'none'
|
||||
run: |
|
||||
curl -L -o mxe-${{ matrix.mxe }}.tar.xz https://github.com/BrettDong/MXE-GCC/releases/download/mxe-gcc-11.2/mxe-${{ matrix.mxe }}.tar.xz
|
||||
curl -L -o mxe-${{ matrix.mxe }}.tar.xz.sha256 https://github.com/BrettDong/MXE-GCC/releases/download/mxe-gcc-11.2/mxe-${{ matrix.mxe }}.tar.xz.sha256
|
||||
shasum -a 256 -c ./mxe-${{ matrix.mxe }}.tar.xz.sha256
|
||||
sudo tar xJf mxe-${{ matrix.mxe }}.tar.xz -C /opt
|
||||
curl -L -o libbacktrace-${{ matrix.mxe }}-w64-mingw32.tar.gz https://github.com/Qrox/libbacktrace/releases/download/2020-01-03/libbacktrace-${{ matrix.mxe }}-w64-mingw32.tar.gz
|
||||
shasum -a 256 -c ./build-scripts/libbacktrace-${{ matrix.mxe }}-w64-mingw32-sha256
|
||||
sudo tar -xzf libbacktrace-${{ matrix.mxe }}-w64-mingw32.tar.gz --exclude=LICENSE -C /opt/mxe/usr/${{ matrix.mxe }}-w64-mingw32.static.gcc11
|
||||
sudo apt install software-properties-common lsb-release
|
||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 86B72ED9
|
||||
sudo add-apt-repository "deb [arch=amd64] https://pkg.mxe.cc/repos/apt `lsb_release -sc` main"
|
||||
sudo apt update
|
||||
sudo apt install mxe-{i686,x86-64}-w64-mingw32.static-{sdl2,sdl2-ttf,sdl2-image,sdl2-mixer,gettext}
|
||||
- name: Install dependencies (Linux)
|
||||
if: runner.os == 'Linux' && matrix.mxe == 'none' && matrix.android == 'none'
|
||||
run: |
|
||||
@@ -189,8 +152,8 @@ jobs:
|
||||
run: |
|
||||
HOMEBREW_NO_AUTO_UPDATE=yes HOMEBREW_NO_INSTALL_CLEANUP=yes brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer gettext ccache parallel
|
||||
pip3 install dmgbuild==1.4.2 biplist
|
||||
- name: Create VERSION.TXT
|
||||
shell: bash
|
||||
- name: Build CDDA (linux)
|
||||
if: runner.os == 'Linux' && matrix.mxe == 'none' && matrix.android == 'none'
|
||||
run: |
|
||||
cat >VERSION.txt <<EOL
|
||||
build type: ${{ matrix.artifact }}
|
||||
@@ -198,35 +161,33 @@ jobs:
|
||||
commit sha: ${{ github.sha }}
|
||||
commit url: https://github.com/${{ github.repository }}/commit/${{ github.sha }}
|
||||
EOL
|
||||
- name: Compile translations (windows)
|
||||
if: runner.os == 'Windows'
|
||||
shell: bash
|
||||
run: |
|
||||
lang/compile_mo.sh all
|
||||
- name: Build CDDA (linux)
|
||||
if: runner.os == 'Linux' && matrix.mxe == 'none' && matrix.android == 'none'
|
||||
run: |
|
||||
make -j$((`nproc`+0)) TILES=${{ matrix.tiles }} SOUND=${{ matrix.tiles }} RELEASE=1 LOCALIZE=1 LANGUAGES=all BACKTRACE=0 PCH=0 bindist
|
||||
mv cataclysmdda-0.F.tar.gz cdda-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.tar.gz
|
||||
- name: Build CDDA (windows mxe)
|
||||
- name: Build CDDA (windows)
|
||||
if: matrix.mxe != 'none'
|
||||
env:
|
||||
PLATFORM: /opt/mxe/usr/bin/${{ matrix.mxe }}-w64-mingw32.static.gcc11-
|
||||
PLATFORM: /usr/lib/mxe/usr/bin/${{ matrix.mxe }}-w64-mingw32.static-
|
||||
run: |
|
||||
make -j$((`nproc`+0)) CROSS="${PLATFORM}" TILES=1 SOUND=1 RELEASE=1 LOCALIZE=1 LANGUAGES=all BACKTRACE=1 PCH=0 bindist
|
||||
mv cataclysmdda-0.F.zip cdda-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.zip
|
||||
- name: Build CDDA (windows msvc)
|
||||
if: runner.os == 'Windows'
|
||||
env:
|
||||
VCPKG_OVERLAY_TRIPLETS: ${{ github.workspace }}\.github\vcpkg_triplets
|
||||
run: |
|
||||
msbuild -m -p:Configuration=Release -p:Platform=${{ matrix.arch }} "-target:Cataclysm-vcpkg-static;JsonFormatter-vcpkg-static" msvc-full-features\Cataclysm-vcpkg-static.sln
|
||||
.\build-scripts\windist.ps1
|
||||
cat >VERSION.txt <<EOL
|
||||
build type: ${{ matrix.artifact }}
|
||||
build number: ${{ needs.release.outputs.timestamp }}
|
||||
commit sha: ${{ github.sha }}
|
||||
commit url: https://github.com/${{ github.repository }}/commit/${{ github.sha }}
|
||||
EOL
|
||||
make -j$((`nproc`+0)) CROSS="${PLATFORM}" TILES=1 SOUND=1 RELEASE=1 LOCALIZE=1 LANGUAGES=all BACKTRACE=0 PCH=0 bindist
|
||||
mv cataclysmdda-0.F.zip cdda-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.zip
|
||||
- name: Build CDDA (osx)
|
||||
if: runner.os == 'macOS'
|
||||
env:
|
||||
USE_HOME_DIR: 1
|
||||
run: |
|
||||
make -j3 TILES=${{ matrix.tiles }} SOUND=${{ matrix.tiles }} RELEASE=1 LOCALIZE=1 LANGUAGES=all BACKTRACE=0 PCH=0 USE_HOME_DIR=1 OSX_MIN=10.12 dmgdist
|
||||
cat >VERSION.txt <<EOL
|
||||
build type: ${{ matrix.artifact }}
|
||||
build number: ${{ needs.release.outputs.timestamp }}
|
||||
commit sha: ${{ github.sha }}
|
||||
commit url: https://github.com/${{ github.repository }}/commit/${{ github.sha }}
|
||||
EOL
|
||||
make -j3 TILES=${{ matrix.tiles }} SOUND=${{ matrix.tiles }} RELEASE=1 LOCALIZE=1 LANGUAGES=all BACKTRACE=0 PCH=0 dmgdist
|
||||
mv Cataclysm.dmg cdda-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.dmg
|
||||
- name: Set up JDK 8 (android)
|
||||
if: runner.os == 'Linux' && matrix.android != 'none' && matrix.mxe == 'none'
|
||||
@@ -237,6 +198,12 @@ jobs:
|
||||
- name: Setup Build and Dependencies (android)
|
||||
if: runner.os == 'Linux' && matrix.android != 'none' && matrix.mxe == 'none'
|
||||
run: |
|
||||
cat >VERSION.txt <<EOL
|
||||
build type: ${{ matrix.artifact }}
|
||||
build number: ${{ needs.release.outputs.timestamp }}
|
||||
commit sha: ${{ github.sha }}
|
||||
commit url: https://github.com/${{ github.repository }}/commit/${{ github.sha }}
|
||||
EOL
|
||||
sudo apt-get update
|
||||
sudo apt-get install gettext
|
||||
- name: Build CDDA (android)
|
||||
@@ -273,7 +240,6 @@ jobs:
|
||||
asset_name: cdda-${{ matrix.artifact }}-${{ needs.release.outputs.timestamp }}.${{ matrix.ext }}
|
||||
asset_content_type: ${{ matrix.content }}
|
||||
- name: Trigger GitHub pages rebuild
|
||||
shell: bash
|
||||
run: |
|
||||
curl --fail --request POST \
|
||||
--url https://api.github.com/repos/${{ github.repository }}/pages/builds \
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
name: Text Changes Analyzer
|
||||
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/text-changes-analyzer.yml'
|
||||
- 'tools/pot_diff.py'
|
||||
- 'src/*.h'
|
||||
- 'src/*.cpp'
|
||||
- '**.json'
|
||||
|
||||
|
||||
jobs:
|
||||
analyze-text-changes:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: "Install dependencies"
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install python3-pip gettext
|
||||
sudo pip3 install polib
|
||||
- name: "Checkout base commit"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.base.sha }}
|
||||
- name: "Generate translation template of base commit"
|
||||
run: |
|
||||
rm -f lang/po/cataclysm-dda.pot
|
||||
./lang/update_pot.sh
|
||||
cp lang/po/cataclysm-dda.pot ~/base.pot
|
||||
- name: "Checkout head commit"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- name: "Generate translation template of head commit"
|
||||
run: |
|
||||
rm -f lang/po/cataclysm-dda.pot
|
||||
./lang/update_pot.sh
|
||||
cp lang/po/cataclysm-dda.pot ~/head.pot
|
||||
- name: "List text changes"
|
||||
run: |
|
||||
python3 ./tools/pot_diff.py ~/base.pot ~/head.pot
|
||||
@@ -18,11 +18,8 @@ jobs:
|
||||
with:
|
||||
commit-message: Update the table of contents
|
||||
branch: update-toc
|
||||
token: ${{ secrets.TX_PR_CREATOR }}
|
||||
title: Update the table of contents in doc/JSON_INFO.md
|
||||
body: |
|
||||
```sh
|
||||
#### Summary
|
||||
None
|
||||
npx doctoc doc/JSON_INFO.md --github
|
||||
```
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
name: "Push translation template"
|
||||
|
||||
concurrency: push_transifex
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '**.json'
|
||||
- 'src/**.cpp'
|
||||
- 'src/**.h'
|
||||
- 'lang/extract_json_strings.py'
|
||||
- 'lang/strip_line_numbers.py'
|
||||
- 'lang/update_pot.sh'
|
||||
- 'lang/unicode_check.py'
|
||||
|
||||
|
||||
jobs:
|
||||
push-template:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: "Install dependencies"
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install gettext python3-pip
|
||||
sudo pip3 install transifex-client
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v2
|
||||
- name: "Generate translation template"
|
||||
run: |
|
||||
lang/update_pot.sh
|
||||
- name: "Push translation template"
|
||||
env:
|
||||
TOKEN: ${{ secrets.TX_TOKEN }}
|
||||
run: |
|
||||
export TX_TOKEN=$TOKEN
|
||||
tx push --source --no-interactive --resource cataclysm-dda.master-cataclysm-dda
|
||||
unset TX_TOKEN
|
||||
unset TOKEN
|
||||
-13
@@ -7,7 +7,6 @@
|
||||
*.o
|
||||
*.tmp
|
||||
*.zip
|
||||
*.apk
|
||||
/WinDepend/
|
||||
/bindist/
|
||||
/build/
|
||||
@@ -101,9 +100,6 @@ tags
|
||||
# Compiled binary translations
|
||||
/lang/mo/
|
||||
|
||||
# Stampfile for binary translations
|
||||
/lang/mo_built.stamp
|
||||
|
||||
# Directory for translatable strings
|
||||
/lang/json/*
|
||||
!/lang/json/README
|
||||
@@ -208,12 +204,3 @@ Xcode/
|
||||
/tests/pch/tests-pch.hpp.pch
|
||||
/tests/catch/catch.hpp.gch
|
||||
/tests/catch/catch.hpp.pch
|
||||
weather.output
|
||||
|
||||
# bundler local directories and files for jekyll site
|
||||
/.bundle/
|
||||
/_site/
|
||||
/vendor/
|
||||
.sass-cache
|
||||
.jekyll-metadata
|
||||
Gemfile.lock
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# Disable FIXME query, in DDA it is as likely to be a future feature as a bug.
|
||||
queries:
|
||||
- exclude: cpp/fixme-comment
|
||||
- exclude: cpp/non-constant-format
|
||||
|
||||
+234
@@ -0,0 +1,234 @@
|
||||
# this file is HEAVILY influenced by https://github.com/boostorg/hana/blob/master/.travis.yml
|
||||
|
||||
dist: xenial
|
||||
language: c++
|
||||
|
||||
cache: ccache
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
||||
git:
|
||||
depth: 5
|
||||
|
||||
addons:
|
||||
# these apt sources will be referenced later (by using *name)
|
||||
apt:
|
||||
sources: &apt_sources
|
||||
- ubuntu-toolchain-r-test
|
||||
config:
|
||||
retries: true
|
||||
|
||||
compiler: gcc
|
||||
os: linux
|
||||
|
||||
# We have branch builds disabled globally to prevent double-builds of PRs.
|
||||
# This re-enables just the master branch.
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- 0.F-dev
|
||||
|
||||
# Overall strategy for what sorts of builds to include:
|
||||
# We want a build for each compiler and each platform.
|
||||
# For PRs, we lessen the "each compiler" requirement to just covering the newest
|
||||
# and oldest relevant version of each compiler.
|
||||
# We also want to ensure that each of the following tweaks are covered in at
|
||||
# least one PR build:
|
||||
# - TILES=1
|
||||
# - SOUND=1
|
||||
# - RELEASE=1
|
||||
# - CMAKE=1
|
||||
# - LOCALIZE=0
|
||||
# - Tests with important mods enabled (Magiclysm)
|
||||
# We try to minimize the number of builds subject to those constraints.
|
||||
#
|
||||
# The following used to be here but became too slow to run on Travis and have
|
||||
# been moved to GitHub Actions:
|
||||
# - A clang-tidy run
|
||||
# - SANITIZE=address,undefined
|
||||
|
||||
# To see what toolchains are available, consult the following:
|
||||
# https://github.com/travis-ci/apt-source-safelist/blob/master/ubuntu.json
|
||||
# https://launchpad.net/%7Eubuntu-toolchain-r/+archive/ubuntu/test/+index
|
||||
|
||||
jobs:
|
||||
include:
|
||||
# Initial test stage, if this fails everything else is canceled.
|
||||
- stage: Test
|
||||
# Clang is consistently the fastest to build, so use it for the initial test.
|
||||
env: CLANG=clang++-3.8 TEST_STAGE=1 CXXFLAGS="-Wno-error=unused-command-line-argument -D__extern_always_inline='extern __always_inline'"
|
||||
name: "Clang 3.8 Make build with curses and style check"
|
||||
compiler: clang
|
||||
addons: &clang38
|
||||
apt:
|
||||
packages: ["clang-3.8"]
|
||||
sources: [*apt_sources]
|
||||
|
||||
# Then build different configurations and targets in parallel.
|
||||
- stage: "Main Compilers"
|
||||
env: COMPILER=g++ MODS=--mods=magiclysm LOCALIZE=0
|
||||
name: "GCC 5.3 Make build with curses, Magiclysm, and no Localization"
|
||||
compiler: gcc
|
||||
addons: &gcc53
|
||||
apt:
|
||||
packages: ["g++-5=5.3.1-14ubuntu2", "libstdc++-5-dev=5.3.1-14ubuntu2", "gcc-5=5.3.1-14ubuntu2", "gcc-5-base=5.3.1-14ubuntu2", "cpp-5=5.3.1-14ubuntu2", "libgcc-5-dev=5.3.1-14ubuntu2", "libasan2=5.3.1-14ubuntu2", "libmpx0=5.3.1-14ubuntu2"]
|
||||
sources: [*apt_sources]
|
||||
|
||||
- env: COMPILER=g++-8 CXXFLAGS="-Wno-implicit-fallthrough" TILES=1 SOUND=1
|
||||
name: "GCC 8 Make build with Tiles, Sound"
|
||||
dist: bionic
|
||||
compiler: gcc
|
||||
addons: &gcc8
|
||||
apt:
|
||||
packages: ["g++-8", "g++-8-multilib", "libc6-dbg", "libc6-dbg:i386", "libsdl2-dev", "libsdl2-ttf-dev", "libsdl2-image-dev", "libsdl2-mixer-dev"]
|
||||
sources: *apt_sources
|
||||
|
||||
- env: CLANG=clang++-10
|
||||
name: "Clang 10 Make build"
|
||||
compiler: clang
|
||||
dist: bionic
|
||||
addons: &clang10
|
||||
apt:
|
||||
packages:
|
||||
- clang-10
|
||||
sources:
|
||||
- sourceline: "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main"
|
||||
key_url: "https://apt.llvm.org/llvm-snapshot.gpg.key"
|
||||
|
||||
- stage: "Platforms and Tidy"
|
||||
# MXE variant using alternate repository http://mirror.mxe.cc/repos/apt
|
||||
env: COMPILER=g++ LDFLAGS="-static-libgcc -static-libstdc++" MXE_TARGET="i686-w64-mingw32.static" WINE="wine" TILES=1 SOUND=1
|
||||
name: "MinGW-Win64 Make cross-compile to Windows with Tiles and Sound"
|
||||
if: type != pull_request
|
||||
compiler: gcc
|
||||
addons: &gcc
|
||||
apt:
|
||||
packages: ["wine"]
|
||||
|
||||
- env: NATIVE=android COMPILER=gcc
|
||||
name: "Android build"
|
||||
language: android
|
||||
android:
|
||||
components:
|
||||
- build-tools-28.0.1
|
||||
cache:
|
||||
# The ccache feature in Travis doesn't work for language: android, so
|
||||
# do it ourselves.
|
||||
directories:
|
||||
- $HOME/.ccache
|
||||
|
||||
- env: CLANG=clang++ OSX_MIN=10.13 TILES=1 SOUND=1
|
||||
name: "Xcode 10.2 Make build with Tiles and sound (macOS)"
|
||||
os: osx
|
||||
osx_image: xcode10.2
|
||||
compiler: clang
|
||||
|
||||
# Finally check the compiler variants
|
||||
- stage: compilers
|
||||
# GCC 5.4 is default on Xenial
|
||||
env: COMPILER=g++
|
||||
name: "GCC 5.4 Make build with Curses"
|
||||
if: type != pull_request
|
||||
|
||||
- env: COMPILER=g++-6 CODE_COVERAGE=true
|
||||
name: "GCC 6 Make build with Curses and Code Coverage"
|
||||
if: type != pull_request
|
||||
compiler: gcc
|
||||
addons: &gcc6
|
||||
apt:
|
||||
packages: ["g++-6", "g++-6-multilib", "libc6-dbg", "libc6-dbg:i386"]
|
||||
sources: *apt_sources
|
||||
|
||||
- env: COMPILER=g++-7 CXXFLAGS='-Wno-implicit-fallthrough -D_GLIBCXX_DEBUG'
|
||||
name: "GCC 7 Make build with Curses and GLIBCXX_DEBUG"
|
||||
if: type != pull_request
|
||||
compiler: gcc
|
||||
addons: &gcc7
|
||||
apt:
|
||||
packages: ["g++-7", "g++-7-multilib", "libc6-dbg", "libc6-dbg:i386", "lcov"]
|
||||
sources: *apt_sources
|
||||
|
||||
- env: CLANG=clang++-3.9 CXXFLAGS='-Wno-error=unused-command-line-argument -D__extern_always_inline="extern __always_inline"'
|
||||
name: "Clang 3.9 Make build with Curses"
|
||||
if: type != pull_request
|
||||
compiler: clang
|
||||
addons: &clang39
|
||||
apt:
|
||||
packages: ["clang-3.9"]
|
||||
sources: *apt_sources
|
||||
|
||||
- env: CLANG=clang++-4.0 CXXFLAGS=-Wno-error=unused-command-line-argument
|
||||
name: "Clang 4 Make build with Curses"
|
||||
if: type != pull_request
|
||||
compiler: clang
|
||||
addons: &clang40
|
||||
apt:
|
||||
packages: ["clang-4.0"]
|
||||
# Luckily the Trusty install Just Works on Xenial
|
||||
sources: [*apt_sources, llvm-toolchain-trusty-4.0]
|
||||
|
||||
- env: CLANG=clang++-5.0 CXXFLAGS=-Wno-error=unused-command-line-argument
|
||||
name: "Clang 5 Make build with Curses"
|
||||
if: type != pull_request
|
||||
compiler: clang
|
||||
addons: &clang50
|
||||
apt:
|
||||
packages: ["clang-5.0"]
|
||||
sources: [*apt_sources, llvm-toolchain-xenial-5.0]
|
||||
|
||||
- env: CLANG=clang++-6.0 TILES=1 SOUND=1 CXXFLAGS=-Wno-error=unused-command-line-argument CMAKE=1 RELEASE=1
|
||||
name: "Clang 6 CMake build with tiles and sound"
|
||||
if: type != pull_request
|
||||
compiler: clang
|
||||
addons: &clang60
|
||||
apt:
|
||||
packages: ["clang-6.0", "libsdl2-dev", "libsdl2-ttf-dev", "libsdl2-image-dev", "libsdl2-mixer-dev"]
|
||||
sources: [*apt_sources, llvm-toolchain-xenial-6.0]
|
||||
|
||||
- env: CLANG=clang++-7
|
||||
name: "Clang 7 Make build with Curses"
|
||||
if: type != pull_request
|
||||
compiler: clang
|
||||
addons: &clang7
|
||||
apt:
|
||||
packages: ["clang-7"]
|
||||
sources: [*apt_sources, llvm-toolchain-xenial-7]
|
||||
|
||||
- env: CLANG=clang++-8
|
||||
name: "Clang 8 Make build with Curses"
|
||||
if: type != pull_request
|
||||
compiler: clang
|
||||
addons: &clang8
|
||||
apt:
|
||||
packages: ["clang-8"]
|
||||
sources: [*apt_sources, llvm-toolchain-xenial-8]
|
||||
|
||||
- env: CLANG=clang++-9
|
||||
name: "Clang 9 Make build with Curses"
|
||||
if: type != pull_request
|
||||
compiler: clang
|
||||
dist: bionic
|
||||
addons: &clang9
|
||||
apt:
|
||||
packages:
|
||||
- clang-9
|
||||
sources:
|
||||
- sourceline: "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main"
|
||||
key_url: "https://apt.llvm.org/llvm-snapshot.gpg.key"
|
||||
|
||||
before_install:
|
||||
- if [ "${NATIVE}" == "android" ]; then yes | sdkmanager "platforms;android-28"; fi
|
||||
|
||||
before_script:
|
||||
- if [ -n "${CLANG}" ]; then COMPILER="$CLANG"; fi
|
||||
- ${COMPILER} --version
|
||||
- CXX="$COMPILER"
|
||||
- source build-scripts/requirements.sh
|
||||
|
||||
script:
|
||||
- build-scripts/build.sh
|
||||
|
||||
after_success:
|
||||
- if [ -n "${CODE_COVERAGE}" ]; then coveralls -b . -i src -e tests --gcov /usr/bin/gcov-6; fi
|
||||
- if [ -n "${CODE_COVERAGE}" ]; then bash <(curl -s https://codecov.io/bash); fi
|
||||
+27
-10
@@ -26,6 +26,7 @@ set(CATA_CLANG_TIDY_INCLUDE_DIR "" CACHE STRING
|
||||
"Path to internal clang-tidy headers required for plugin (e.g. ClangTidy.h)")
|
||||
set(CATA_CHECK_CLANG_TIDY "" CACHE STRING "Path to check_clang_tidy.py for plugin tests")
|
||||
set(GIT_BINARY "" CACHE STRING "Git binary name or path.")
|
||||
set(PREFIX "" CACHE STRING "Location of Data & GFX directories")
|
||||
|
||||
include(CTest)
|
||||
|
||||
@@ -96,8 +97,7 @@ else ()
|
||||
endif ()
|
||||
|
||||
# System specific actions
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES Linux OR ${CMAKE_SYSTEM_NAME} MATCHES FreeBSD
|
||||
OR ${CMAKE_SYSTEM_NAME} MATCHES Darwin)
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES Linux OR ${CMAKE_SYSTEM_NAME} MATCHES FreeBSD)
|
||||
if (NOT DATA_PREFIX)
|
||||
set(DATA_PREFIX ${CMAKE_INSTALL_PREFIX}/share/cataclysm-dda)
|
||||
endif ()
|
||||
@@ -137,7 +137,9 @@ message(STATUS "${PROJECT_NAME} build options --")
|
||||
|
||||
# Preset variables
|
||||
if (NOT LANGUAGES)
|
||||
set(LANGUAGES de es_AR es_ES fr it_IT ja ko pt_BR ru zh_CN zh_TW)
|
||||
# English is included to workaround a libintl bug that affects performance
|
||||
# on MinGW targets. See lang/CMakeList.txt for more information.
|
||||
set(LANGUAGES en de es_AR es_ES fr it_IT ja ko pt_BR ru zh_CN zh_TW)
|
||||
endif ()
|
||||
|
||||
if (GIT_BINARY)
|
||||
@@ -151,6 +153,10 @@ else ()
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
if (PREFIX)
|
||||
add_definitions(-DPREFIX=${PREFIX})
|
||||
endif ()
|
||||
|
||||
# Can't compile curses and tiles build's at same time
|
||||
if (TILES)
|
||||
set(CURSES OFF)
|
||||
@@ -158,7 +164,6 @@ endif ()
|
||||
|
||||
# Set build types and display info
|
||||
if (CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
set(RELEASE 0)
|
||||
message(STATUS "Build ${PROJECT} in development mode --")
|
||||
message(STATUS "Binaries will be located in: " ${CMAKE_SOURCE_DIR})
|
||||
set(CMAKE_VERBOSE_MAKEFILE ON)
|
||||
@@ -169,7 +174,6 @@ if (CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
"Single Directory for all Executables.")
|
||||
set(BIN_PREFIX ${CMAKE_SOURCE_DIR})
|
||||
else ()
|
||||
set(RELEASE 1)
|
||||
message(STATUS "CMAKE_INSTALL_PREFIX : ${CMAKE_INSTALL_PREFIX}")
|
||||
message(STATUS "BIN_PREFIX : ${BIN_PREFIX}")
|
||||
message(STATUS "DATA_PREFIX : ${DATA_PREFIX}")
|
||||
@@ -181,9 +185,8 @@ else ()
|
||||
message(STATUS "PIXMAPS_UNITY_ENTRY_PATH : ${PIXMAPS_UNITY_ENTRY_PATH}")
|
||||
message(STATUS "MANPAGE_ENTRY_PATH : ${MANPAGE_ENTRY_PATH}")
|
||||
add_definitions(-DRELEASE)
|
||||
# Use CMAKE_INSTALL_PREFIX as storage of data,gfx, etc.. Useful only on *nix OS.
|
||||
if (CMAKE_INSTALL_PREFIX AND NOT WIN32)
|
||||
add_definitions(-DPREFIX=${CMAKE_INSTALL_PREFIX})
|
||||
# Use PREFIX as storage of data,gfx, etc.. Useful only on *nix OS.
|
||||
if (PREFIX AND NOT WIN32)
|
||||
add_definitions(-DDATA_DIR_PREFIX)
|
||||
endif ()
|
||||
endif ()
|
||||
@@ -245,8 +248,6 @@ endif ()
|
||||
set(CMAKE_THREAD_PREFER_PTHREAD True)
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
FIND_PACKAGE(ZLIB REQUIRED)
|
||||
|
||||
# Check for build types and libraries
|
||||
if (TILES)
|
||||
# Find SDL, SDL_ttf & SDL_image for graphical install
|
||||
@@ -336,6 +337,22 @@ endif (BACKTRACE)
|
||||
|
||||
# Ok. Now create build and install recipes
|
||||
if (LOCALIZE)
|
||||
if (NOT _OS_LINUX_) # on Linux with glibc, libintl is not required
|
||||
find_package(Libintl)
|
||||
if (NOT LIBINTL_FOUND)
|
||||
message(FATAL_ERROR
|
||||
"You need the libintl development library \
|
||||
to be able to compile with LOCALIZE support. \
|
||||
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
|
||||
endif ()
|
||||
endif()
|
||||
find_package(Iconv)
|
||||
if (NOT ICONV_FOUND)
|
||||
message(FATAL_ERROR
|
||||
"You need the iconv development library \
|
||||
to be able to compile with LOCALIZE support. \
|
||||
See doc/COMPILING/COMPILING-CMAKE.md for details and more info.")
|
||||
endif ()
|
||||
add_subdirectory(lang)
|
||||
add_definitions(-DLOCALIZE)
|
||||
endif ()
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
Copyright (c) 2019 Dimitar Toshkov Zhekov,
|
||||
with Reserved Font Name "Terminus Font".
|
||||
|
||||
Copyright (c) 2017 tisimst
|
||||
with Reserved Font Name "Vecterminus"
|
||||
|
||||
Copyright (c) 2011 Tilman Blumenbach,
|
||||
with Reserved Font Name "Terminus (TTF)".
|
||||
|
||||
|
||||
+1
-3
@@ -4,15 +4,13 @@ GNU Unifont (data/font/unifont.ttf) is licensed under GNU General Public License
|
||||
|
||||
Terminus Font (data/font/terminus.ttf) is licensed under the SIL Open Font License (see LICENSE-OFL-Terminus-Font.txt).
|
||||
|
||||
Vecterminus Font (data/font/VecTerminus12Medium.otf) is licensed under the SIL Open Font License (see LICENSE-OFL-Terminus-Font.txt).
|
||||
|
||||
CATCH unit-test framework (tests/catch/catch.hpp) is licensed under the Boost Software License. Visit https://github.com/philsquared/Catch/blob/master/LICENSE.txt to read the license.
|
||||
|
||||
PLF List and PLF Colony (src/list.h, src/colony.h) are licensed under the zLib license (https://www.zlib.net/zlib_license.html).
|
||||
|
||||
getpost (tools/json_tools/format/getpost.h) is licensed under the MIT license, see file for text of license.
|
||||
|
||||
gulrak filesystem (src/third-party/ghc/*) is licensed under the MIT license, see file for text of license.
|
||||
libintl-lite is licensed under Boost Software License 1.0. Visit https://www.boost.org/users/license.html to read the license.
|
||||
|
||||
libbacktrace is licensed under a BSD license (https://github.com/ianlancetaylor/libbacktrace/blob/master/LICENSE). The full license text is as follows:
|
||||
|
||||
|
||||
@@ -47,6 +47,10 @@
|
||||
# (for example: make LANGUAGES="zh_CN zh_TW" for Chinese)
|
||||
# make localization LANGUAGES=all
|
||||
# (for every .po file in lang/po)
|
||||
# Special note for MinGW: due to a libintl bug (https://savannah.gnu.org/bugs/index.php?58006),
|
||||
# using English without a `.mo` file would cause significant slow down on MinGW
|
||||
# targets. In such case you can compile a `.mo` file for English using `make LANGUAGES="en"`.
|
||||
# `make LANGUAGE="all"` also compiles a `.mo` file for English in addition to other languages.
|
||||
# Enable sanitizer (address, undefined, etc.)
|
||||
# make SANITIZE=address
|
||||
# Change mapsize (reality bubble size)
|
||||
@@ -188,13 +192,6 @@ ifneq (,$(findstring clang,$(COMPILER)))
|
||||
CLANG = $(COMPILER)
|
||||
endif
|
||||
|
||||
# Windows sets the OS environment variable so we can cheaply test for it.
|
||||
ifneq (,$(findstring Windows_NT,$(OS)))
|
||||
IS_WINDOWS_HOST = 1
|
||||
else
|
||||
IS_WINDOWS_HOST = 0
|
||||
endif
|
||||
|
||||
OS = $(shell uname -s)
|
||||
|
||||
ifneq ($(findstring Darwin,$(OS)),)
|
||||
@@ -330,6 +327,8 @@ STRIP = $(CROSS)strip
|
||||
RC = $(CROSS)windres
|
||||
AR = $(CROSS)ar
|
||||
|
||||
# We don't need scientific precision for our math functions, this lets them run much faster.
|
||||
CXXFLAGS += -ffast-math
|
||||
LDFLAGS += $(PROFILE)
|
||||
|
||||
ifneq ($(SANITIZE),)
|
||||
@@ -456,7 +455,6 @@ ifeq ($(PCH), 1)
|
||||
endif
|
||||
endif
|
||||
|
||||
CPPFLAGS += -isystem ${SRC_DIR}/third-party
|
||||
CXXFLAGS += $(WARNINGS) $(DEBUG) $(DEBUGSYMS) $(PROFILE) $(OTHERS) -MMD -MP
|
||||
TOOL_CXXFLAGS = -DCATA_IN_TOOL
|
||||
|
||||
@@ -522,7 +520,7 @@ ifeq ($(NATIVE), osx)
|
||||
endif
|
||||
DEFINES += -DMACOSX
|
||||
CXXFLAGS += -mmacosx-version-min=$(OSX_MIN)
|
||||
LDFLAGS += -mmacosx-version-min=$(OSX_MIN) -framework CoreFoundation -Wl,-headerpad_max_install_names
|
||||
LDFLAGS += -mmacosx-version-min=$(OSX_MIN) -framework CoreFoundation
|
||||
ifdef FRAMEWORK
|
||||
ifeq ($(FRAMEWORKSDIR),)
|
||||
FRAMEWORKSDIR := $(strip $(if $(shell [ -d $(HOME)/Library/Frameworks ] && echo 1), \
|
||||
@@ -538,6 +536,22 @@ ifeq ($(NATIVE), osx)
|
||||
endif
|
||||
endif
|
||||
ifeq ($(LOCALIZE), 1)
|
||||
LDFLAGS += -lintl
|
||||
ifdef OSXCROSS
|
||||
LDFLAGS += -L$(LIBSDIR)/gettext/lib
|
||||
CXXFLAGS += -I$(LIBSDIR)/gettext/include
|
||||
endif
|
||||
# link to gettext from Homebrew if it exists
|
||||
# Homebrew may be installed in /usr/local or /opt/homebrew
|
||||
ifneq ("$(wildcard /usr/local/opt/gettext)", "")
|
||||
LDFLAGS += -L/usr/local/opt/gettext/lib
|
||||
CXXFLAGS += -I/usr/local/opt/gettext/include
|
||||
else
|
||||
ifneq ("$(wildcard /opt/homebrew/opt/gettext)", "")
|
||||
LDFLAGS += -L/opt/homebrew/opt/gettext/lib
|
||||
CXXFLAGS += -I/opt/homebrew/opt/gettext/include
|
||||
endif
|
||||
endif
|
||||
ifeq ($(MACPORTS), 1)
|
||||
ifneq ($(TILES), 1)
|
||||
CXXFLAGS += -I$(shell ncursesw6-config --includedir)
|
||||
@@ -586,7 +600,6 @@ endif
|
||||
|
||||
# Global settings for Windows targets
|
||||
ifeq ($(TARGETSYSTEM),WINDOWS)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
CHKJSON_BIN = chkjson.exe
|
||||
TARGET = $(W32TARGET)
|
||||
BINDIST = $(W32BINDIST)
|
||||
@@ -598,6 +611,9 @@ ifeq ($(TARGETSYSTEM),WINDOWS)
|
||||
else
|
||||
LDFLAGS += -static
|
||||
endif
|
||||
ifeq ($(LOCALIZE), 1)
|
||||
LDFLAGS += -lintl -liconv
|
||||
endif
|
||||
W32FLAGS += -Wl,-stack,12000000,-subsystem,windows
|
||||
RFLAGS = -J rc -O coff
|
||||
ifeq ($(NATIVE), win64)
|
||||
@@ -706,7 +722,7 @@ ifeq ($(TILES), 1)
|
||||
LDFLAGS += $(shell $(PKG_CONFIG) --libs SDL2_image SDL2_ttf)
|
||||
else
|
||||
ifeq ($(MSYS2),1)
|
||||
LDFLAGS += -Wl,--start-group -lharfbuzz -lfreetype -Wl,--end-group -lgraphite2 -lpng -lz -ltiff -lbz2 -lglib-2.0 -llzma -lws2_32 -lwebp -ljpeg -luuid
|
||||
LDFLAGS += -Wl,--start-group -lharfbuzz -lfreetype -Wl,--end-group -lgraphite2 -lpng -lz -ltiff -lbz2 -lglib-2.0 -llzma -lws2_32 -lintl -liconv -lwebp -ljpeg -luuid
|
||||
else
|
||||
LDFLAGS += -lfreetype -lpng -lz -ljpeg -lbz2
|
||||
endif
|
||||
@@ -765,6 +781,13 @@ else
|
||||
endif # HAVE_PKGCONFIG
|
||||
endif # TILES
|
||||
|
||||
ifeq ($(TARGETSYSTEM),CYGWIN)
|
||||
ifeq ($(LOCALIZE),1)
|
||||
# Work around Cygwin not including gettext support in glibc
|
||||
LDFLAGS += -lintl -liconv
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BSD), 1)
|
||||
# BSDs have backtrace() and friends in a separate library
|
||||
ifeq ($(BACKTRACE), 1)
|
||||
@@ -773,7 +796,12 @@ ifeq ($(BSD), 1)
|
||||
CXXFLAGS += -fno-omit-frame-pointer
|
||||
endif
|
||||
|
||||
# libexecinfo may be located in /usr/local on BSD
|
||||
# And similarly, their libcs don't have gettext built in
|
||||
ifeq ($(LOCALIZE),1)
|
||||
LDFLAGS += -lintl -liconv
|
||||
endif
|
||||
|
||||
# libexecinfo, libintl and libiconv may be located in /usr/local on BSD
|
||||
CXXFLAGS += -I/usr/local/include
|
||||
LDFLAGS += -L/usr/local/lib
|
||||
endif
|
||||
@@ -798,7 +826,6 @@ endif
|
||||
|
||||
ifeq ($(LOCALIZE),1)
|
||||
DEFINES += -DLOCALIZE
|
||||
LOCALIZE_TEST_DEPS = localization $(TEST_MO)
|
||||
endif
|
||||
|
||||
ifeq ($(TARGETSYSTEM),LINUX)
|
||||
@@ -824,13 +851,11 @@ SOURCES := $(wildcard $(SRC_DIR)/*.cpp)
|
||||
HEADERS := $(wildcard $(SRC_DIR)/*.h)
|
||||
TESTSRC := $(wildcard tests/*.cpp)
|
||||
TESTHDR := $(wildcard tests/*.h)
|
||||
JSON_FORMATTER_SOURCES := $(wildcard tools/format/*.cpp) src/json.cpp
|
||||
JSON_FORMATTER_HEADERS := $(wildcard tools/format/*.h)
|
||||
CHKJSON_SOURCES := $(wildcard src/chkjson/*.cpp) src/json.cpp
|
||||
JSON_FORMATTER_SOURCES := tools/format/format.cpp tools/format/format_main.cpp src/json.cpp
|
||||
CHKJSON_SOURCES := src/chkjson/chkjson.cpp src/json.cpp
|
||||
CLANG_TIDY_PLUGIN_SOURCES := \
|
||||
$(wildcard tools/clang-tidy-plugin/*.cpp tools/clang-tidy-plugin/*/*.cpp)
|
||||
CLANG_TIDY_PLUGIN_HEADERS := \
|
||||
$(wildcard tools/clang-tidy-plugin/*.h tools/clang-tidy-plugin/*/*.h)
|
||||
TOOLHDR := $(wildcard tools/*/*.h)
|
||||
# Using sort here because it has the side-effect of deduplicating the list
|
||||
ASTYLE_SOURCES := $(sort \
|
||||
$(SOURCES) \
|
||||
@@ -838,10 +863,9 @@ ASTYLE_SOURCES := $(sort \
|
||||
$(TESTSRC) \
|
||||
$(TESTHDR) \
|
||||
$(JSON_FORMATTER_SOURCES) \
|
||||
$(JSON_FORMATTER_HEADERS) \
|
||||
$(CHKJSON_SOURCES) \
|
||||
$(CLANG_TIDY_PLUGIN_SOURCES) \
|
||||
$(CLANG_TIDY_PLUGIN_HEADERS))
|
||||
$(TOOLHDR))
|
||||
|
||||
_OBJS = $(SOURCES:$(SRC_DIR)/%.cpp=%.o)
|
||||
ifeq ($(TARGETSYSTEM),WINDOWS)
|
||||
@@ -904,8 +928,6 @@ ifeq ($(LTO), 1)
|
||||
endif
|
||||
endif
|
||||
|
||||
LDFLAGS += -lz
|
||||
|
||||
all: version $(CHECKS) $(TARGET) $(L10N) $(TESTS)
|
||||
@
|
||||
|
||||
@@ -942,27 +964,12 @@ $(ODIR)/%.o: $(SRC_DIR)/%.cpp $(PCH_P)
|
||||
$(ODIR)/%.o: $(SRC_DIR)/%.rc
|
||||
$(RC) $(RFLAGS) $< -o $@
|
||||
|
||||
$(ODIR)/resource.o: data/cataicon.ico data/application_manifest.xml
|
||||
|
||||
src/version.h: version
|
||||
|
||||
src/version.cpp: src/version.h
|
||||
|
||||
TEST_MO := data/mods/TEST_DATA/lang/mo/ru/LC_MESSAGES/TEST_DATA.mo
|
||||
|
||||
$(TEST_MO): data/mods/TEST_DATA/lang/po/ru.po
|
||||
mkdir -p $(dir $@)
|
||||
msgfmt -f -o $@ $<
|
||||
|
||||
MO_DEPS := \
|
||||
$(wildcard lang/*.sh lang/*.py src/*.cpp src/*.h) \
|
||||
$(shell find data/{raw,json,mods,core,help} -type f -name '*.json')
|
||||
|
||||
lang/mo_built.stamp: $(MO_DEPS)
|
||||
$(MAKE) -C lang
|
||||
touch $@
|
||||
|
||||
localization: lang/mo_built.stamp
|
||||
localization:
|
||||
lang/compile_mo.sh $(LANGUAGES)
|
||||
|
||||
$(CHKJSON_BIN): $(CHKJSON_SOURCES)
|
||||
$(CXX) $(CXXFLAGS) $(TOOL_CXXFLAGS) -Isrc/chkjson -Isrc $(CHKJSON_SOURCES) -o $(CHKJSON_BIN)
|
||||
@@ -977,12 +984,11 @@ clean: clean-tests clean-object_creator clean-pch
|
||||
rm -rf *$(BINDIST_DIR) *cataclysmdda-*.tar.gz *cataclysmdda-*.zip
|
||||
rm -f $(SRC_DIR)/version.h
|
||||
rm -f $(CHKJSON_BIN)
|
||||
rm -f $(TEST_MO)
|
||||
|
||||
distclean:
|
||||
rm -rf *$(BINDIST_DIR)
|
||||
rm -rf save
|
||||
rm -rf lang/mo lang/mo_built.stamp
|
||||
rm -rf lang/mo
|
||||
rm -f data/options.txt
|
||||
rm -f data/keymap.txt
|
||||
rm -f data/auto_pickup.txt
|
||||
@@ -1022,7 +1028,7 @@ endif
|
||||
LICENSE.txt LICENSE-OFL-Terminus-Font.txt -t $(DATA_PREFIX)
|
||||
mkdir -p $(LOCALE_DIR)
|
||||
ifdef LANGUAGES
|
||||
$(MAKE) -C lang
|
||||
LOCALE_DIR=$(LOCALE_DIR) lang/compile_mo.sh $(LANGUAGES)
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -1058,7 +1064,7 @@ endif
|
||||
LICENSE.txt LICENSE-OFL-Terminus-Font.txt -t $(DATA_PREFIX)
|
||||
mkdir -p $(LOCALE_DIR)
|
||||
ifdef LANGUAGES
|
||||
$(MAKE) -C lang
|
||||
LOCALE_DIR=$(LOCALE_DIR) lang/compile_mo.sh $(LANGUAGES)
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -1106,10 +1112,14 @@ endif
|
||||
cp -R data/title $(APPDATADIR)
|
||||
cp -R data/help $(APPDATADIR)
|
||||
ifdef LANGUAGES
|
||||
$(MAKE) -C lang
|
||||
lang/compile_mo.sh $(LANGUAGES)
|
||||
mkdir -p $(APPRESOURCESDIR)/lang/mo/
|
||||
cp -pR lang/mo/* $(APPRESOURCESDIR)/lang/mo/
|
||||
endif
|
||||
ifeq ($(LOCALIZE), 1)
|
||||
LIBINTL=$$($(CROSS)otool -L $(APPTARGET) | grep libintl | sed -n 's/\(.*\.dylib\).*/\1/p') && if [ -f $$LIBINTL ]; then cp $$LIBINTL $(APPRESOURCESDIR)/; fi; \
|
||||
if [ ! -z "$$OSXCROSS" ]; then LIBINTL=$$(basename $$LIBINTL) && if [ ! -z "$$LIBINTL" ]; then cp $(LIBSDIR)/gettext/lib/$$LIBINTL $(APPRESOURCESDIR)/; fi; fi
|
||||
endif
|
||||
ifeq ($(TILES), 1)
|
||||
ifeq ($(SOUND), 1)
|
||||
cp -R data/sound $(APPDATADIR)
|
||||
@@ -1125,14 +1135,17 @@ ifeq ($(SOUND), 1)
|
||||
cd $(APPRESOURCESDIR)/ && ln -s SDL2_mixer.framework/Frameworks/Ogg.framework Ogg.framework
|
||||
cd $(APPRESOURCESDIR)/SDL2_mixer.framework/Frameworks && find . -maxdepth 1 -type d -not -name '*Vorbis.framework' -not -name '*Ogg.framework' -not -name '.' | xargs rm -rf
|
||||
endif # ifdef SOUND
|
||||
else # libsdl build
|
||||
cp $(SDLLIBSDIR)/libSDL2.dylib $(APPRESOURCESDIR)/
|
||||
cp $(SDLLIBSDIR)/libSDL2_image.dylib $(APPRESOURCESDIR)/
|
||||
cp $(SDLLIBSDIR)/libSDL2_ttf.dylib $(APPRESOURCESDIR)/
|
||||
ifeq ($(SOUND), 1)
|
||||
cp $(SDLLIBSDIR)/libSDL2_mixer.dylib $(APPRESOURCESDIR)/
|
||||
endif # ifdef SOUND
|
||||
endif # ifdef FRAMEWORK
|
||||
|
||||
endif # ifdef TILES
|
||||
|
||||
ifndef FRAMEWORK
|
||||
python3 ./tools/copy_mac_libs.py $(APPRESOURCESDIR)/$(APPTARGET)
|
||||
endif # ifndef FRAMEWORK
|
||||
|
||||
|
||||
dmgdistclean:
|
||||
rm -rf Cataclysm
|
||||
rm -f Cataclysm.dmg
|
||||
@@ -1173,27 +1186,8 @@ etags: $(ASTYLE_SOURCES)
|
||||
etags $^
|
||||
./tools/json_tools/cddatags.py
|
||||
|
||||
ifneq ($(IS_WINDOWS_HOST),1)
|
||||
# Parallel astyle for posix hosts where fork and filesystem are cheap.
|
||||
|
||||
ASTYLE_CHECK_STAMPS = $(sort $(patsubst %,$(ODIR)/%.astyle-check-stamp,$(ASTYLE_SOURCES)))
|
||||
astyle: $(ASTYLE_CHECK_STAMPS)
|
||||
$(ASTYLE_CHECK_STAMPS): $(ODIR)/%.astyle-check-stamp : %
|
||||
$(ASTYLE_BINARY) --options=.astylerc -n $< && mkdir -p $(@D) && touch $@
|
||||
|
||||
else
|
||||
# Serial astyle for Windows hosts which processes all files in one invocation.
|
||||
|
||||
astyle: $(ODIR)/.astyle-check-stamp
|
||||
$(ODIR)/.astyle-check-stamp: $(ASTYLE_SOURCES)
|
||||
$(ASTYLE_BINARY) --options=.astylerc -n $?
|
||||
mkdir -p $(@D) && touch $@
|
||||
|
||||
endif
|
||||
|
||||
astyle-all: $(ASTYLE_SOURCES)
|
||||
astyle: $(ASTYLE_SOURCES)
|
||||
$(ASTYLE_BINARY) --options=.astylerc -n $(ASTYLE_SOURCES)
|
||||
mkdir -p $(ODIR) && touch $(ODIR)/.astyle-check-stamp
|
||||
|
||||
# Test whether the system has a version of astyle that supports --dry-run
|
||||
ifeq ($(shell if $(ASTYLE_BINARY) -Q -X --dry-run src/game.h > /dev/null; then echo foo; fi),foo)
|
||||
@@ -1209,12 +1203,10 @@ else
|
||||
@echo Cannot run an astyle check, your system either does not have astyle, or it is too old.
|
||||
endif
|
||||
|
||||
JSON_SOURCES := $(shell find data -name '* *' -prune -o -name "*.json" -print)
|
||||
JSON_CHECK_STAMPS = $(sort $(patsubst %,$(ODIR)/%,$(JSON_SOURCES:.json=.jstyle-check-stamp)))
|
||||
style-json : $(JSON_CHECK_STAMPS) $(JSON_FORMATTER_BIN)
|
||||
$(JSON_CHECK_STAMPS) : $(ODIR)/%.jstyle-check-stamp : %.json $(JSON_FORMATTER_BIN)
|
||||
style-json: json_blacklist $(JSON_FORMATTER_BIN)
|
||||
ifndef CROSS
|
||||
$(JSON_FORMATTER_BIN) $< && mkdir -p $(@D) && touch $@
|
||||
find data gfx -name "*.json" -print0 | grep -v -z -F -f json_blacklist | \
|
||||
xargs -0 -L 1 $(JSON_FORMATTER_BIN)
|
||||
else
|
||||
@echo Cannot run json formatter in cross compiles.
|
||||
endif
|
||||
@@ -1229,10 +1221,10 @@ $(JSON_FORMATTER_BIN): $(JSON_FORMATTER_SOURCES)
|
||||
python-check:
|
||||
flake8
|
||||
|
||||
tests: version $(BUILD_PREFIX)cataclysm.a $(LOCALIZE_TEST_DEPS)
|
||||
tests: version $(BUILD_PREFIX)cataclysm.a
|
||||
$(MAKE) -C tests
|
||||
|
||||
check: version $(BUILD_PREFIX)cataclysm.a $(LOCALIZE_TEST_DEPS)
|
||||
check: version $(BUILD_PREFIX)cataclysm.a
|
||||
$(MAKE) -C tests check
|
||||
|
||||
clean-tests:
|
||||
|
||||
@@ -69,7 +69,8 @@ GitHub repo:
|
||||
https://github.com/CleverRaven/Cataclysm-DDA
|
||||
|
||||
IRC:
|
||||
`#CataclysmDDA` on [Libera Chat](https://libera.chat), https://web.libera.chat/#CataclysmDDA
|
||||
`irc.libera.chat` ; `#CataclysmDDA`
|
||||
https://kiwiirc.com/nextclient/irc.libera.chat#CataclysmDDA
|
||||
|
||||
Official Discord:
|
||||
https://discord.gg/jFEc7Yp
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
###########################
|
||||
#
|
||||
# libintl-lite shared library
|
||||
#
|
||||
###########################
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := libintl-lite
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)
|
||||
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
|
||||
|
||||
LOCAL_SRC_FILES := libintl.cpp
|
||||
|
||||
LOCAL_CPP_FEATURES := exceptions rtti
|
||||
|
||||
LOCAL_LDLIBS := -llog
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
@@ -0,0 +1,23 @@
|
||||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by
|
||||
this license (the "Software") to use, reproduce, display, distribute,
|
||||
execute, and transmit the Software, and to prepare derivative works of the
|
||||
Software, and to permit third-parties to whom the Software is furnished to
|
||||
do so, all subject to the following:
|
||||
|
||||
The copyright notices in the Software and this entire statement, including
|
||||
the above license grant, this restriction and the following disclaimer,
|
||||
must be included in all copies of the Software, in whole or in part, and
|
||||
all derivative works of the Software, unless such copies or derivative
|
||||
works are solely in the form of machine-executable object code generated by
|
||||
a source language processor.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by
|
||||
this license (the "Software") to use, reproduce, display, distribute,
|
||||
execute, and transmit the Software, and to prepare derivative works of the
|
||||
Software, and to permit third-parties to whom the Software is furnished to
|
||||
do so, all subject to the following:
|
||||
|
||||
The copyright notices in the Software and this entire statement, including
|
||||
the above license grant, this restriction and the following disclaimer,
|
||||
must be included in all copies of the Software, in whole or in part, and
|
||||
all derivative works of the Software, unless such copies or derivative
|
||||
works are solely in the form of machine-executable object code generated by
|
||||
a source language processor.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef LIBINTL_INTERNAL_MESSAGECATALOG_HPP_
|
||||
#define LIBINTL_INTERNAL_MESSAGECATALOG_HPP_
|
||||
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
|
||||
namespace libintllite
|
||||
{
|
||||
|
||||
namespace internal
|
||||
{
|
||||
|
||||
class MessageCatalog
|
||||
{
|
||||
private:
|
||||
MessageCatalog( const MessageCatalog & );
|
||||
MessageCatalog &operator=( const MessageCatalog & );
|
||||
|
||||
uint32_t numberOfStrings;
|
||||
const std::string *sortedOrigStringsArray;
|
||||
const std::string *translatedStringsArray;
|
||||
|
||||
public:
|
||||
// The ownership of these arrays is transfered to the created message
|
||||
// catalog object!
|
||||
// Does not throw exceptions!
|
||||
MessageCatalog( uint32_t numberOfStrings,
|
||||
const std::string *sortedOrigStringsArray,
|
||||
const std::string *translatedStringsArray ) :
|
||||
numberOfStrings( numberOfStrings ),
|
||||
sortedOrigStringsArray( sortedOrigStringsArray ),
|
||||
translatedStringsArray( translatedStringsArray ) {
|
||||
}
|
||||
|
||||
~MessageCatalog() {
|
||||
delete[] this->sortedOrigStringsArray;
|
||||
delete[] this->translatedStringsArray;
|
||||
}
|
||||
|
||||
// Returns NULL, if the original string was not found.
|
||||
// Does not throw exceptions!
|
||||
const std::string *getTranslatedStrPtr( const std::string &orig ) const {
|
||||
const std::string *lastSortedOrigStringEndIter
|
||||
= this->sortedOrigStringsArray + this->numberOfStrings;
|
||||
const std::string *origStrPtr = std::lower_bound( this->sortedOrigStringsArray,
|
||||
lastSortedOrigStringEndIter,
|
||||
orig );
|
||||
#ifdef __ANDROID__
|
||||
// Bugfix from j-jorge's branch of libintl-lite: https://github.com/j-jorge/libintl-lite/commit/40e5a41e9b19e3252d348e0548f85e66fa44a79e
|
||||
// However, libintl-lite does not seem to support plural form strings + translations properly, so I've had to modify the fix further.
|
||||
// Plural strings are stored as "<singular>NUL<plural>NUL<plural>..." for as many plurals are in the language, eg. Russian has 4, French has 2, Japanese has 1.
|
||||
// So we only compare the first singular string as per gettext MO files spec here: https://www.gnu.org/software/gettext/manual/html_node/MO-Files.html
|
||||
// We do this via c_str() which clamps at the first NUL character.
|
||||
// Later on once we have a match, we will dig out the proper plural translation from this megastring.
|
||||
if( !origStrPtr || ( origStrPtr == lastSortedOrigStringEndIter ) ||
|
||||
( std::string( ( *origStrPtr ).c_str() ) != std::string( orig.c_str() ) ) )
|
||||
#else
|
||||
if( !origStrPtr || ( origStrPtr == lastSortedOrigStringEndIter ) )
|
||||
#endif
|
||||
{
|
||||
return NULL;
|
||||
} else {
|
||||
return &this->translatedStringsArray[origStrPtr - this->sortedOrigStringsArray];
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace internal
|
||||
|
||||
} // namespace libintllite
|
||||
|
||||
#endif // LIBINTL_INTERNAL_MESSAGECATALOG_HPP_
|
||||
@@ -0,0 +1,222 @@
|
||||
/*
|
||||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by
|
||||
this license (the "Software") to use, reproduce, display, distribute,
|
||||
execute, and transmit the Software, and to prepare derivative works of the
|
||||
Software, and to permit third-parties to whom the Software is furnished to
|
||||
do so, all subject to the following:
|
||||
|
||||
The copyright notices in the Software and this entire statement, including
|
||||
the above license grant, this restriction and the following disclaimer,
|
||||
must be included in all copies of the Software, in whole or in part, and
|
||||
all derivative works of the Software, unless such copies or derivative
|
||||
works are solely in the form of machine-executable object code generated by
|
||||
a source language processor.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef LIBINTL_INTERNAL_UTIL_HPP_
|
||||
#define LIBINTL_INTERNAL_UTIL_HPP_
|
||||
|
||||
#if defined(WIN32) || defined(WINCE)
|
||||
typedef unsigned int uint32_t;
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
namespace libintllite
|
||||
{
|
||||
|
||||
namespace internal
|
||||
{
|
||||
|
||||
// Helper functions for handling numbers and char array conversions:
|
||||
|
||||
static inline bool isBigEndian()
|
||||
{
|
||||
uint32_t checkNumber = 0x1100;
|
||||
return ( *reinterpret_cast<const char *>( &checkNumber ) != 0 );
|
||||
}
|
||||
|
||||
static inline uint32_t swapUInt32Bytes( uint32_t number )
|
||||
{
|
||||
const char *numberAsCharArray = reinterpret_cast<const char *>( &number );
|
||||
|
||||
uint32_t swappedNumber;
|
||||
char *swappedNumberAsCharArray = reinterpret_cast<char *>( &swappedNumber );
|
||||
swappedNumberAsCharArray[0] = numberAsCharArray[3];
|
||||
swappedNumberAsCharArray[1] = numberAsCharArray[2];
|
||||
swappedNumberAsCharArray[2] = numberAsCharArray[1];
|
||||
swappedNumberAsCharArray[3] = numberAsCharArray[0];
|
||||
return swappedNumber;
|
||||
}
|
||||
|
||||
static inline uint32_t charArrayToUInt32( const char uint32CharArray[4] )
|
||||
{
|
||||
return *reinterpret_cast<const uint32_t *>( uint32CharArray );
|
||||
}
|
||||
|
||||
static inline bool readUIn32FromFile( FILE *fileHandle, bool needsBeToLeConversion,
|
||||
uint32_t &outReadUInt32 )
|
||||
{
|
||||
char uint32CharArray[4];
|
||||
if( ( fread( uint32CharArray, 1, 4, fileHandle ) ) != 4 ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if( needsBeToLeConversion ) {
|
||||
outReadUInt32 = swapUInt32Bytes( charArrayToUInt32( uint32CharArray ) );
|
||||
return true;
|
||||
} else {
|
||||
outReadUInt32 = charArrayToUInt32( uint32CharArray );
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// RAII classes:
|
||||
|
||||
template <class T>
|
||||
class ArrayGurard
|
||||
{
|
||||
private:
|
||||
ArrayGurard( const ArrayGurard & );
|
||||
ArrayGurard &operator=( const ArrayGurard & );
|
||||
|
||||
T *&arrayRef;
|
||||
bool released;
|
||||
|
||||
public:
|
||||
explicit ArrayGurard( T *&arrayRef ) :
|
||||
arrayRef( arrayRef ),
|
||||
released( false ) {
|
||||
}
|
||||
|
||||
~ArrayGurard() {
|
||||
if( !this->released ) {
|
||||
delete[] this->arrayRef;
|
||||
}
|
||||
}
|
||||
|
||||
const T *release() {
|
||||
this->released = true;
|
||||
return this->arrayRef;
|
||||
}
|
||||
};
|
||||
|
||||
class CloseFileHandleGuard
|
||||
{
|
||||
private:
|
||||
CloseFileHandleGuard( const CloseFileHandleGuard & );
|
||||
CloseFileHandleGuard &operator=( const CloseFileHandleGuard & );
|
||||
|
||||
FILE *&fileHandleRef;
|
||||
|
||||
public:
|
||||
explicit CloseFileHandleGuard( FILE *&fileHandleRef ) :
|
||||
fileHandleRef( fileHandleRef ) {
|
||||
}
|
||||
|
||||
~CloseFileHandleGuard() {
|
||||
if( this->fileHandleRef ) {
|
||||
fclose( this->fileHandleRef );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// Helper function to load strings from a .mo file and stores them in a given array
|
||||
|
||||
static bool loadMoFileStringsToArray( FILE *moFile,
|
||||
uint32_t numberOfStrings,
|
||||
uint32_t stringsTableOffsetFromFileBegin,
|
||||
bool needsBeToLeConversion,
|
||||
std::string *outStringsFromMoFileArray )
|
||||
{
|
||||
if( fseek( moFile, stringsTableOffsetFromFileBegin, SEEK_SET ) != 0 ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
uint32_t *stringsLengthsArray = NULL;
|
||||
ArrayGurard<uint32_t> stringsLengthsArrayGuard( stringsLengthsArray );
|
||||
stringsLengthsArray = new uint32_t[numberOfStrings];
|
||||
if( !stringsLengthsArray ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
uint32_t firstStringOffset;
|
||||
uint32_t lastStringOffset;
|
||||
{
|
||||
uint32_t currentStringLength;
|
||||
uint32_t currentStringOffset;
|
||||
for( uint32_t i = 0; i < numberOfStrings; i++ ) {
|
||||
if( !readUIn32FromFile( moFile, needsBeToLeConversion, currentStringLength ) ) {
|
||||
return false;
|
||||
}
|
||||
if( !readUIn32FromFile( moFile, needsBeToLeConversion, currentStringOffset ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
stringsLengthsArray[i] = currentStringLength;
|
||||
|
||||
if( i == 0 ) {
|
||||
firstStringOffset = currentStringOffset;
|
||||
}
|
||||
|
||||
if( i == ( numberOfStrings - 1 ) ) {
|
||||
lastStringOffset = currentStringOffset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
char *stringCharsArray = NULL;
|
||||
ArrayGurard<char> stringCharsArrayGuard( stringCharsArray );
|
||||
|
||||
uint32_t stringCharsArraySize = lastStringOffset + stringsLengthsArray[numberOfStrings - 1] + 1 -
|
||||
firstStringOffset;
|
||||
if( stringCharsArraySize == 0 ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if( fseek( moFile, firstStringOffset, SEEK_SET ) != 0 ) {
|
||||
return false;
|
||||
}
|
||||
stringCharsArray = new char[stringCharsArraySize];
|
||||
if( !stringCharsArray ) {
|
||||
return false;
|
||||
}
|
||||
if( fread( stringCharsArray, 1, stringCharsArraySize, moFile ) != stringCharsArraySize ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const char *stringsCharsArrayIter = stringCharsArray;
|
||||
for( uint32_t i = 0; i < numberOfStrings; i++ ) {
|
||||
#ifdef __ANDROID__
|
||||
// Bugfix from j-jorge's branch of libintl-lite: https://github.com/j-jorge/libintl-lite/commit/240f38c005ba9afce9c3c3629d624d904cb09403
|
||||
const char *currentStrEndIter = stringsCharsArrayIter + stringsLengthsArray[i];
|
||||
outStringsFromMoFileArray[i] = std::string( stringsCharsArrayIter, currentStrEndIter );
|
||||
stringsCharsArrayIter = currentStrEndIter + 1 /* skip the NULL char at the end of the string */ ;
|
||||
#else
|
||||
const char *currentStrEndIter = stringsCharsArrayIter + stringsLengthsArray[i] + 1;
|
||||
outStringsFromMoFileArray[i] = std::string( stringsCharsArrayIter, currentStrEndIter );
|
||||
stringsCharsArrayIter = currentStrEndIter;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace internal
|
||||
|
||||
} // namespace libintllite
|
||||
|
||||
#endif // LIBINTL_INTERNAL_UTIL_HPP_
|
||||
@@ -0,0 +1,360 @@
|
||||
/*
|
||||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by
|
||||
this license (the "Software") to use, reproduce, display, distribute,
|
||||
execute, and transmit the Software, and to prepare derivative works of the
|
||||
Software, and to permit third-parties to whom the Software is furnished to
|
||||
do so, all subject to the following:
|
||||
|
||||
The copyright notices in the Software and this entire statement, including
|
||||
the above license grant, this restriction and the following disclaimer,
|
||||
must be included in all copies of the Software, in whole or in part, and
|
||||
all derivative works of the Software, unless such copies or derivative
|
||||
works are solely in the form of machine-executable object code generated by
|
||||
a source language processor.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "libintl.h"
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(WIN32) || defined(WINCE)
|
||||
typedef unsigned int uint32_t;
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#include <iostream>
|
||||
#endif
|
||||
|
||||
#include "MessageCatalog.hpp"
|
||||
#include "Util.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
using namespace libintllite;
|
||||
using namespace libintllite::internal;
|
||||
|
||||
static char *currentDefaultDomain = NULL;
|
||||
static map<char *, MessageCatalog *> loadedMessageCatalogPtrsByDomain;
|
||||
|
||||
libintl_lite_bool_t loadMessageCatalog( const char *domain, const char *moFilePath )
|
||||
{
|
||||
try {
|
||||
if( sizeof( uint32_t ) != 4 ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
if( !moFilePath || !domain ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
FILE *moFile = NULL;
|
||||
CloseFileHandleGuard closeFileHandleGuard( moFile );
|
||||
moFile = fopen( moFilePath, "rb" );
|
||||
if( !moFile ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
uint32_t magicNumber;
|
||||
if( !readUIn32FromFile( moFile, false, magicNumber ) ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
if( ( magicNumber != 0x950412de ) && ( magicNumber != 0xde120495 ) ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
uint32_t fileFormatRevision;
|
||||
if( !readUIn32FromFile( moFile, false, fileFormatRevision ) ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
if( fileFormatRevision != 0 ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
bool needsBeToLeConversion = isBigEndian();
|
||||
|
||||
uint32_t numberOfStrings;
|
||||
if( !readUIn32FromFile( moFile, needsBeToLeConversion, numberOfStrings ) ) {
|
||||
return false;
|
||||
}
|
||||
if( numberOfStrings == 0 ) {
|
||||
return LIBINTL_LITE_BOOL_TRUE;
|
||||
}
|
||||
|
||||
uint32_t offsetOrigTable;
|
||||
if( !readUIn32FromFile( moFile, needsBeToLeConversion, offsetOrigTable ) ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
uint32_t offsetTransTable;
|
||||
if( !readUIn32FromFile( moFile, needsBeToLeConversion, offsetTransTable ) ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
string *sortedOrigStringsArray = NULL;
|
||||
ArrayGurard<string> sortedOrigStringsArrayGuard( sortedOrigStringsArray );
|
||||
sortedOrigStringsArray = new string[numberOfStrings];
|
||||
if( !sortedOrigStringsArray ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
if( !loadMoFileStringsToArray( moFile,
|
||||
numberOfStrings,
|
||||
offsetOrigTable,
|
||||
needsBeToLeConversion,
|
||||
sortedOrigStringsArray ) ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
string *translatedStringsArray = NULL;
|
||||
ArrayGurard<string> translatedStringsArrayGuard( translatedStringsArray );
|
||||
translatedStringsArray = new string[numberOfStrings];
|
||||
if( !translatedStringsArray ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
if( !loadMoFileStringsToArray( moFile,
|
||||
numberOfStrings,
|
||||
offsetTransTable,
|
||||
needsBeToLeConversion,
|
||||
translatedStringsArray ) ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
|
||||
MessageCatalog *newMessageCatalogPtr = new MessageCatalog( numberOfStrings,
|
||||
sortedOrigStringsArray,
|
||||
translatedStringsArray );
|
||||
if( !newMessageCatalogPtr ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
sortedOrigStringsArrayGuard.release();
|
||||
translatedStringsArrayGuard.release();
|
||||
|
||||
char *domainDup = strdup( domain );
|
||||
if( !domainDup ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
closeLoadedMessageCatalog( domain );
|
||||
loadedMessageCatalogPtrsByDomain[domainDup] = newMessageCatalogPtr;
|
||||
|
||||
return LIBINTL_LITE_BOOL_TRUE;
|
||||
} catch( ... ) {
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
void closeLoadedMessageCatalog( const char *domain )
|
||||
{
|
||||
if( domain ) {
|
||||
for( map<char *, MessageCatalog *>::iterator i = loadedMessageCatalogPtrsByDomain.begin();
|
||||
i != loadedMessageCatalogPtrsByDomain.end();
|
||||
i++ ) {
|
||||
if( strcmp( i->first, domain ) == 0 ) {
|
||||
free( i->first );
|
||||
delete i->second;
|
||||
loadedMessageCatalogPtrsByDomain.erase( i );
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void closeAllLoadedMessageCatalogs()
|
||||
{
|
||||
for( map<char *, MessageCatalog *>::iterator i = loadedMessageCatalogPtrsByDomain.begin();
|
||||
i != loadedMessageCatalogPtrsByDomain.end();
|
||||
i++ ) {
|
||||
free( i->first );
|
||||
delete i->second;
|
||||
}
|
||||
loadedMessageCatalogPtrsByDomain.clear();
|
||||
free( currentDefaultDomain );
|
||||
currentDefaultDomain = NULL;
|
||||
}
|
||||
|
||||
const char *textdomain( const char *domain )
|
||||
{
|
||||
if( domain ) {
|
||||
char *newDefaultDomain = strdup( domain );
|
||||
if( !newDefaultDomain ) {
|
||||
return NULL;
|
||||
}
|
||||
free( currentDefaultDomain );
|
||||
currentDefaultDomain = newDefaultDomain;
|
||||
return newDefaultDomain;
|
||||
} else {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
const char *gettext( const char *origStr )
|
||||
{
|
||||
return dgettext( NULL, origStr );
|
||||
}
|
||||
|
||||
const char *dgettext( const char *domain, const char *origStr )
|
||||
{
|
||||
if( !origStr ) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if( !domain ) {
|
||||
if( currentDefaultDomain ) {
|
||||
domain = currentDefaultDomain;
|
||||
} else {
|
||||
return origStr;
|
||||
}
|
||||
}
|
||||
|
||||
const MessageCatalog *msgCat = NULL;
|
||||
for( map<char *, MessageCatalog *>::iterator i = loadedMessageCatalogPtrsByDomain.begin();
|
||||
!msgCat && ( i != loadedMessageCatalogPtrsByDomain.end() );
|
||||
i++ ) {
|
||||
if( strcmp( i->first, domain ) == 0 ) {
|
||||
msgCat = i->second;
|
||||
}
|
||||
}
|
||||
|
||||
if( !msgCat ) {
|
||||
return origStr;
|
||||
}
|
||||
|
||||
const string *translatedStrPtr = msgCat->getTranslatedStrPtr( origStr );
|
||||
if( translatedStrPtr ) {
|
||||
return translatedStrPtr->c_str();
|
||||
} else {
|
||||
return origStr;
|
||||
}
|
||||
}
|
||||
|
||||
const char *ngettext( const char *origStr, const char *origStrPlural, unsigned long n )
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
try {
|
||||
// First let's get the translated megastring that contains all the plural translations separated by NUL chars
|
||||
const char *translatedStr = gettext( origStr );
|
||||
|
||||
// Now determine correct plural form to use. This data is described in .PO files "Plural-Forms" metadata.
|
||||
const char *language = getenv( "LANGUAGE" );
|
||||
|
||||
// Bail out if we don't have data, or the result of gettext is the exact same pointer to the source string (so we don't have a translated megastring to look at)
|
||||
if( !translatedStr || !language || translatedStr == origStr ) {
|
||||
if( n == 1 ) {
|
||||
return origStr;
|
||||
} else {
|
||||
return origStrPlural;
|
||||
}
|
||||
}
|
||||
|
||||
int nplurals = 2;
|
||||
int plural = n != 1;
|
||||
if( strcmp( language, "en" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = ( n != 1 );
|
||||
} else if( strcmp( language, "fr" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = ( n > 1 );
|
||||
} else if( strcmp( language, "de" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = ( n != 1 );
|
||||
} else if( strcmp( language, "it_IT" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = ( n != 1 );
|
||||
} else if( strcmp( language, "es_AR" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = ( n != 1 );
|
||||
} else if( strcmp( language, "es_ES" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = ( n != 1 );
|
||||
} else if( strcmp( language, "ja" ) == 0 ) {
|
||||
nplurals = 1;
|
||||
plural = 0;
|
||||
} else if( strcmp( language, "ko" ) == 0 ) {
|
||||
nplurals = 1;
|
||||
plural = 0;
|
||||
} else if( strcmp( language, "pt_BR" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = ( n > 1 );
|
||||
} else if( strcmp( language, "pt_PT" ) == 0 ) {
|
||||
nplurals = 2;
|
||||
plural = n != 1;
|
||||
} else if( strcmp( language, "ru" ) == 0 ) {
|
||||
nplurals = 4;
|
||||
plural = ( n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && ( n % 100 < 12 ||
|
||||
n % 100 > 14 ) ? 1 : n % 10 == 0 || ( n % 10 >= 5 && n % 10 <= 9 ) || ( n % 100 >= 11 &&
|
||||
n % 100 <= 14 ) ? 2 : 3 );
|
||||
} else if( strcmp( language, "zh_CN" ) == 0 ) {
|
||||
nplurals = 1;
|
||||
plural = 0;
|
||||
} else if( strcmp( language, "zh_TW" ) == 0 ) {
|
||||
nplurals = 1;
|
||||
plural = 0;
|
||||
}
|
||||
|
||||
// Now we know which plural form to use, move the string pointer past the appropriate # of NUL characters.
|
||||
// This is a bit scary because it relies on the .MO file always storing the correct number of plurals,
|
||||
// otherwise we could overrun the string buffer. Seems to work fine though... (nervous laughter)
|
||||
for( int i = 0; i < plural; ++i ) {
|
||||
translatedStr += strlen( translatedStr ) + 1; // advance to the start of the next string
|
||||
}
|
||||
return translatedStr;
|
||||
} catch( const std::exception &err ) {
|
||||
std::cerr << "Error in libintl-lite ngettext(): " << err.what() << std::endl;
|
||||
if( n == 1 ) {
|
||||
return origStr;
|
||||
} else {
|
||||
return origStrPlural;
|
||||
}
|
||||
}
|
||||
#else
|
||||
if( n == 1 ) {
|
||||
return gettext( origStr );
|
||||
} else {
|
||||
return gettext( origStrPlural );
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
const char *dngettext( const char *domain, const char *origStr, const char *origStrPlural,
|
||||
unsigned long n )
|
||||
{
|
||||
#ifdef __ANDROID__
|
||||
// not implemented yet
|
||||
return NULL;
|
||||
#else
|
||||
if( n == 1 ) {
|
||||
return dgettext( domain, origStr );
|
||||
} else {
|
||||
return dgettext( domain, origStrPlural );
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef __ANDROID__
|
||||
libintl_lite_bool_t bindtextdomain( const char *domain, const char *moFilePath )
|
||||
{
|
||||
return loadMessageCatalog( domain, moFilePath );
|
||||
}
|
||||
|
||||
libintl_lite_bool_t bind_textdomain_codeset( const char *domain, const char *oFilePath )
|
||||
{
|
||||
return LIBINTL_LITE_BOOL_FALSE;
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by
|
||||
this license (the "Software") to use, reproduce, display, distribute,
|
||||
execute, and transmit the Software, and to prepare derivative works of the
|
||||
Software, and to permit third-parties to whom the Software is furnished to
|
||||
do so, all subject to the following:
|
||||
|
||||
The copyright notices in the Software and this entire statement, including
|
||||
the above license grant, this restriction and the following disclaimer,
|
||||
must be included in all copies of the Software, in whole or in part, and
|
||||
all derivative works of the Software, unless such copies or derivative
|
||||
works are solely in the form of machine-executable object code generated by
|
||||
a source language processor.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef LIBINTL_HPP_
|
||||
#define LIBINTL_HPP_
|
||||
|
||||
#define LIBINTL_LITE_API
|
||||
#if (defined(WIN32) || defined(WINCE)) && defined(LIBINTL_LITE_WIN32_SHARED)
|
||||
#undef LIBINTL_LITE_API
|
||||
#ifdef LIBINTL_LITE_EXPORTS
|
||||
#define LIBINTL_LITE_API __declspec(dllexport)
|
||||
#else
|
||||
#define LIBINTL_LITE_API __declspec(dllimport)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
typedef int libintl_lite_bool_t;
|
||||
#define LIBINTL_LITE_BOOL_TRUE 1
|
||||
#define LIBINTL_LITE_BOOL_FALSE 0
|
||||
|
||||
/**
|
||||
* Loads a message catalog from a given (GNU-compatible) .mo file.
|
||||
* Returns true, if the message catalog was loaded successfully and
|
||||
* false otherwise.
|
||||
* This function is specific to libintl-lite and serves as a simple
|
||||
* replacement for bindtextdomain() function of GNU gettext.
|
||||
* The parameter "domain" must not be NULL!
|
||||
* This function is NOT thread safe!
|
||||
* Pay attention to the thread safety remarks of the gettext() function!
|
||||
*/
|
||||
LIBINTL_LITE_API libintl_lite_bool_t loadMessageCatalog( const char *domain,
|
||||
const char *moFilePath );
|
||||
|
||||
/**
|
||||
* Closes a message catalog for the specified domain and releases its obtained resources.
|
||||
* This function is NOT thread safe!
|
||||
* Pay attention to the thread safety remarks of the gettext() function!
|
||||
*/
|
||||
LIBINTL_LITE_API void closeLoadedMessageCatalog( const char *domain );
|
||||
|
||||
/**
|
||||
* Closes all loaded message catalogs releases their obtained resources.
|
||||
* This function is NOT thread safe!
|
||||
* Pay attention to the thread safety remarks of the gettext() function!
|
||||
*/
|
||||
LIBINTL_LITE_API void closeAllLoadedMessageCatalogs();
|
||||
|
||||
/**
|
||||
* Sets the default text domain for gettext() / ngettext() calls.
|
||||
* This function is NOT thread safe!
|
||||
*/
|
||||
LIBINTL_LITE_API const char *textdomain( const char *domain );
|
||||
|
||||
/**
|
||||
* Returns a pointer to the NULL-terminated string in the loaded for the default
|
||||
* message catalog, or origString if origStr is NULL, textdomain() was not called,
|
||||
* no message catalog for the specified domain is loaded or no translated message
|
||||
* could be found.
|
||||
* This function is thread-safe, but loadMessageCatalog(), textdomain(),
|
||||
* closeLoadedMessageCatalog() or closeAllLoadedMessageCatalogs()
|
||||
* must not be called at the same time! A returned string in the current
|
||||
* loaded message catalog will be deleted, if loadMessageCatalog() or
|
||||
* closeLoadedMessageCatalog() is called for the used domain afterwards!
|
||||
* Does not perform any character set conversion!
|
||||
*/
|
||||
LIBINTL_LITE_API const char *gettext( const char *origStr );
|
||||
|
||||
/**
|
||||
* Works like the gettext() function, but uses the message catalog for a specified domain.
|
||||
*/
|
||||
LIBINTL_LITE_API const char *dgettext( const char *domain, const char *origStr );
|
||||
|
||||
/**
|
||||
* Works like the gettext() function, but distinguishes between singular
|
||||
* and plural form of a message.
|
||||
* Always returns the suitable singular string, if n == 1, and the plural string
|
||||
* otherwise, regardless of the language.
|
||||
*/
|
||||
LIBINTL_LITE_API const char *ngettext( const char *origStr, const char *origStrPlural,
|
||||
unsigned long n );
|
||||
|
||||
/**
|
||||
* Works like the ngettext() function, but uses the message catalog for a specified domain.
|
||||
*/
|
||||
LIBINTL_LITE_API const char *dngettext( const char *domain, const char *origStr,
|
||||
const char *origStrPlural, unsigned long n );
|
||||
|
||||
#ifdef __ANDROID__
|
||||
// Two extra signatures required as per: http://blog.stuff-o-matic.com/post/2013/09/07/Porting-a-C-game-to-Android,-the-case-of-Andy-s-Super-Great-Park
|
||||
LIBINTL_LITE_API libintl_lite_bool_t bindtextdomain( const char *domain, const char *moFilePath );
|
||||
LIBINTL_LITE_API libintl_lite_bool_t bind_textdomain_codeset( const char *domain,
|
||||
const char *moFilePath );
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // LIBINTL_HPP_
|
||||
@@ -2,8 +2,6 @@ LOCAL_PATH := $(call my-dir)/../../../../src
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/third-party
|
||||
|
||||
LOCAL_MODULE := main
|
||||
|
||||
LOCAL_CPP_FEATURES := exceptions rtti
|
||||
@@ -12,11 +10,11 @@ LOCAL_CPP_FEATURES := exceptions rtti
|
||||
FILE_LIST := $(sort $(wildcard $(LOCAL_PATH)/*.cpp))
|
||||
LOCAL_SRC_FILES := $(sort $(FILE_LIST:$(LOCAL_PATH)/%=%))
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libhidapi SDL2 SDL2_mixer SDL2_image SDL2_ttf mpg123
|
||||
LOCAL_SHARED_LIBRARIES := libhidapi SDL2 SDL2_mixer SDL2_image SDL2_ttf libintl-lite mpg123
|
||||
|
||||
LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog -lz
|
||||
LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog
|
||||
|
||||
LOCAL_CFLAGS += -DTILES=1 -DSDL_SOUND=1 -DBACKTRACE=1 -DLOCALIZE=1 -Wextra -Wall -fsigned-char
|
||||
LOCAL_CFLAGS += -DTILES=1 -DSDL_SOUND=1 -DBACKTRACE=1 -DLOCALIZE=1 -Wextra -Wall -fsigned-char -ffast-math
|
||||
|
||||
LOCAL_LDFLAGS += $(LOCAL_CFLAGS)
|
||||
|
||||
|
||||
@@ -53,12 +53,7 @@ class HIDDeviceUSB implements HIDDevice {
|
||||
public String getSerialNumber() {
|
||||
String result = null;
|
||||
if (Build.VERSION.SDK_INT >= 21) {
|
||||
try {
|
||||
result = mDevice.getSerialNumber();
|
||||
}
|
||||
catch (SecurityException exception) {
|
||||
//Log.w(TAG, "App permissions mean we cannot get serial number for device " + getDeviceName() + " message: " + exception.getMessage());
|
||||
}
|
||||
result = mDevice.getSerialNumber();
|
||||
}
|
||||
if (result == null) {
|
||||
result = "";
|
||||
|
||||
@@ -146,6 +146,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
||||
"SDL2_mixer",
|
||||
// "SDL2_net",
|
||||
"SDL2_ttf",
|
||||
"intl-lite",
|
||||
"main"
|
||||
};
|
||||
}
|
||||
|
||||
+9
-31
@@ -6,17 +6,10 @@ echo "Using bash version $BASH_VERSION"
|
||||
set -exo pipefail
|
||||
|
||||
num_jobs=3
|
||||
[ -z $NUM_TEST_JOBS ] && num_test_jobs=3 || num_test_jobs=$NUM_TEST_JOBS
|
||||
|
||||
# We might need binaries installed via pip, so ensure that our personal bin dir is on the PATH
|
||||
export PATH=$HOME/.local/bin:$PATH
|
||||
|
||||
$COMPILER --version
|
||||
if [ -n "$CROSS_COMPILATION" ]
|
||||
then
|
||||
"$CROSS_COMPILATION$COMPILER" --version
|
||||
fi
|
||||
|
||||
if [ -n "$TEST_STAGE" ]
|
||||
then
|
||||
build-scripts/lint-json.sh
|
||||
@@ -45,11 +38,7 @@ function run_test
|
||||
{
|
||||
set -eo pipefail
|
||||
test_exit_code=0 sed_exit_code=0 exit_code=0
|
||||
test_bin=$1
|
||||
prefix=$2
|
||||
shift 2
|
||||
|
||||
$WINE "$test_bin" --min-duration 0.2 --use-colour yes --rng-seed time $EXTRA_TEST_OPTS "$@" 2>&1 | sed -E 's/^(::(warning|error|debug)[^:]*::)?/\1'"$prefix"'/' || test_exit_code="${PIPESTATUS[0]}" sed_exit_code="${PIPESTATUS[1]}"
|
||||
$WINE $1 --min-duration 0.2 --use-colour yes --rng-seed time $EXTRA_TEST_OPTS "$2" 2>&1 | sed -E 's/^(::(warning|error|debug)[^:]*::)?/\1'"$3"'/' || test_exit_code="${PIPESTATUS[0]}" sed_exit_code="${PIPESTATUS[1]}"
|
||||
if [ "$test_exit_code" -ne "0" ]
|
||||
then
|
||||
echo "$3test exited with code $test_exit_code"
|
||||
@@ -138,17 +127,14 @@ then
|
||||
cd ..
|
||||
ln -s build/compile_commands.json
|
||||
|
||||
./build-scripts/files_changed || echo 'Unable to determine changed files'
|
||||
|
||||
# We want to first analyze all files that changed in this PR, then as
|
||||
# many others as possible, in a random order.
|
||||
set +x
|
||||
all_cpp_files="$( \
|
||||
grep '"file": "' build/compile_commands.json | \
|
||||
sed "s+.*$PWD/++;s+\"$++")"
|
||||
changed_files="$( ./build-scripts/files_changed || echo unknown )"
|
||||
changed_cpp_files="$( \
|
||||
echo "$changed_files" | grep -F "$all_cpp_files" || true )"
|
||||
./build-scripts/files_changed | grep -F "$all_cpp_files" || true )"
|
||||
if [ -n "$changed_cpp_files" ]
|
||||
then
|
||||
remaining_cpp_files="$( \
|
||||
@@ -171,24 +157,16 @@ then
|
||||
echo "Analyzing changed files"
|
||||
analyze_files_in_random_order "$changed_cpp_files"
|
||||
|
||||
# Check for changes to any files that would require us to run clang-tidy across everything
|
||||
changed_global_files="$( \
|
||||
echo "$changed_files" | \
|
||||
egrep -i "\.h$|clang-tidy|build-scripts|cmake|unknown" || true )"
|
||||
if [ -n "$changed_global_files" ]
|
||||
then
|
||||
first_changed_file="$(echo "$changed_global_files" | head -n 1)"
|
||||
echo "Analyzing remaining files because $first_changed_file was changed"
|
||||
analyze_files_in_random_order "$remaining_cpp_files"
|
||||
fi
|
||||
echo "Analyzing remaining files"
|
||||
analyze_files_in_random_order "$remaining_cpp_files"
|
||||
set -x
|
||||
else
|
||||
# Regular build
|
||||
make -j$num_jobs
|
||||
cd ..
|
||||
# Run regular tests
|
||||
[ -f "${bin_path}cata_test" ] && parallel --verbose --linebuffer "run_test $(printf %q "${bin_path}")'/cata_test' '('{}')=> ' --user-dir=test_user_dir_{#} {}" ::: "crafting_skill_gain" "[slow] ~crafting_skill_gain" "~[slow] ~[.]"
|
||||
[ -f "${bin_path}cata_test-tiles" ] && parallel --verbose --linebuffer "run_test $(printf %q "${bin_path}")'/cata_test-tiles' '('{}')=> ' --user-dir=test_user_dir_{#} {}" ::: "crafting_skill_gain" "[slow] ~crafting_skill_gain" "~[slow] ~[.]"
|
||||
[ -f "${bin_path}cata_test" ] && parallel --verbose --linebuffer "run_test $(printf %q "${bin_path}")'/cata_test' {} '('{}')=> '" ::: "crafting_skill_gain" "[slow] ~crafting_skill_gain" "~[slow] ~[.]"
|
||||
[ -f "${bin_path}cata_test-tiles" ] && parallel --verbose --linebuffer "run_test $(printf %q "${bin_path}")'/cata_test-tiles' {} '('{}')=> '" ::: "crafting_skill_gain" "[slow] ~crafting_skill_gain" "~[slow] ~[.]"
|
||||
fi
|
||||
elif [ "$NATIVE" == "android" ]
|
||||
then
|
||||
@@ -209,10 +187,10 @@ else
|
||||
|
||||
export ASAN_OPTIONS=detect_odr_violation=1
|
||||
export UBSAN_OPTIONS=print_stacktrace=1
|
||||
parallel -j "$num_test_jobs" --verbose --linebuffer "run_test './tests/cata_test' '('{}')=> ' --user-dir=test_user_dir_{#} {}" ::: "crafting_skill_gain" "[slow] ~crafting_skill_gain" "~[slow] ~[.]"
|
||||
parallel --verbose --linebuffer "run_test './tests/cata_test' {} '('{}')=> '" ::: "crafting_skill_gain" "[slow] ~crafting_skill_gain" "~[slow] ~[.]"
|
||||
if [ -n "$MODS" ]
|
||||
then
|
||||
parallel -j "$num_test_jobs" --verbose --linebuffer "run_test './tests/cata_test' 'Mods-('{}')=> ' $(printf %q "${MODS}") --user-dir=modded_{#} {}" ::: "crafting_skill_gain" "[slow] ~crafting_skill_gain" "~[slow] ~[.]"
|
||||
parallel --verbose --linebuffer "run_test './tests/cata_test --user-dir=modded '$(printf %q "${MODS}") {} 'Mods-('{}')=> '" ::: "crafting_skill_gain" "[slow] ~crafting_skill_gain" "~[slow] ~[.]"
|
||||
fi
|
||||
|
||||
if [ -n "$TEST_STAGE" ]
|
||||
@@ -224,7 +202,7 @@ else
|
||||
./build-scripts/get_all_mods.py | \
|
||||
while read mods
|
||||
do
|
||||
run_test ./tests/cata_test '(all_mods)=> ' '~*' --user-dir=all_modded --mods="${mods}"
|
||||
run_test './tests/cata_test --user-dir=all_modded --mods='"${mods}" '~*' ''
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -3,47 +3,15 @@
|
||||
# Helper script to get the list of changed files for this build.
|
||||
# If a PR it lists the changes from the target branch.
|
||||
# If a 'regular' branch build the changes since the last build.
|
||||
# https://docs.travis-ci.com/user/environment-variables/
|
||||
|
||||
set -e
|
||||
|
||||
function files_list
|
||||
{
|
||||
git diff --name-only --diff-filter ACMRT "$@"
|
||||
}
|
||||
|
||||
if [ "$TRAVIS" = "true" ]
|
||||
if [ -n $TRAVIS_COMMIT_RANGE ]
|
||||
then
|
||||
# https://docs.travis-ci.com/user/environment-variables/
|
||||
if [ -n $TRAVIS_COMMIT_RANGE ]
|
||||
then
|
||||
# If this string is populated, it should work.
|
||||
# But it mught fail, due to e.g. the shallow clone depth missing the
|
||||
# relevant commit, in which case we fail
|
||||
files_list $TRAVIS_COMMIT_RANGE || exit 1
|
||||
else
|
||||
# The only time it isn't populated is on a new PR branch, where THIS will work.
|
||||
files_list $TRAVIS_BRANCH
|
||||
fi
|
||||
elif [ -n "$GITHUB_BASE_REF" ]
|
||||
then
|
||||
base="origin/$GITHUB_BASE_REF"
|
||||
# We need to fetch enough commits to be able to compute the merge-base
|
||||
# between this PR and master
|
||||
commits_to_fetch=10
|
||||
fetch_limit=10000
|
||||
while [ -z "$( git merge-base "$base" HEAD^2 2>/dev/null )" ]
|
||||
do
|
||||
git fetch -q --deepen=$commits_to_fetch origin "$GITHUB_BASE_REF" HEAD
|
||||
(( commits_to_fetch *= 2 ))
|
||||
if [ "$commits_to_fetch" -gt "$fetch_limit" ]
|
||||
then
|
||||
printf '%s\n' "Already fetched over $fetch_limit commits" \
|
||||
'Giving up on trying to find merge-base' >&2
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
files_list "$( git merge-base "$base" HEAD^2 )..HEAD^2"
|
||||
# If this string is populated, it should work.
|
||||
# But it mught fail, due to e.g. the shallow clone depth missing the
|
||||
# relevant commit, in which case we fail
|
||||
git diff --name-only $TRAVIS_COMMIT_RANGE || exit 1
|
||||
else
|
||||
echo 'Neither $TRAVIS nor $GITHUB_BASE_REF was defined' >&2
|
||||
exit 1
|
||||
# The only time it isn't populated is on a new PR branch, where THIS will work.
|
||||
git diff --name-only $TRAVIS_BRANCH
|
||||
fi
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
f658456bb32db1d4fe694eee02459f63b7044ab71009730c3828374a35a8f750 *libbacktrace-x86_64-w64-mingw32.tar.gz
|
||||
@@ -54,27 +54,31 @@ fi
|
||||
|
||||
# Influenced by https://github.com/zer0main/battleship/blob/master/build/windows/requirements.sh
|
||||
if [ -n "${MXE_TARGET}" ]; then
|
||||
$travis_retry sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 84C7C89FC632241A6999ED0A580873F586B72ED9
|
||||
sudo add-apt-repository 'deb [arch=amd64] https://mirror.mxe.cc/repos/apt xenial main'
|
||||
sudo dpkg --add-architecture i386
|
||||
sudo apt update
|
||||
$travis_retry sudo apt-get --yes install wine wine32
|
||||
# We need to treat apt-get update warnings as errors for which the exit code
|
||||
# is not sufficient. The following workaround inspired by
|
||||
# https://unix.stackexchange.com/questions/175146/apt-get-update-exit-status/
|
||||
exec {fd}>&2
|
||||
$travis_retry bash -o pipefail -c \
|
||||
"sudo apt-get update 2>&1 | tee /dev/fd/$fd | ( ! grep -q -e '^Err:' -e '^[WE]:' )"
|
||||
exec {fd}>&-
|
||||
|
||||
set +e
|
||||
retry=0
|
||||
until [[ "$retry" -ge 5 ]]; do
|
||||
curl -L -o mxe-i686.tar.xz https://github.com/BrettDong/MXE-GCC/releases/download/mxe-gcc-11.2/mxe-i686.tar.xz && curl -L -o mxe-i686.tar.xz.sha256 https://github.com/BrettDong/MXE-GCC/releases/download/mxe-gcc-11.2/mxe-i686.tar.xz.sha256 && shasum -a 256 -c ./mxe-i686.tar.xz.sha256 && break
|
||||
retry=$((retry+1))
|
||||
rm -f mxe-i686.tar.xz mxe-i686.tar.xz.sha256
|
||||
sleep 10
|
||||
done
|
||||
if [[ "$retry" -ge 5 ]]; then
|
||||
echo "Error downloading or checksum failed for MXE i686"
|
||||
exit 1
|
||||
fi
|
||||
set -e
|
||||
sudo tar xJf mxe-i686.tar.xz -C /opt
|
||||
|
||||
export MXE_DIR=/opt/mxe
|
||||
export CROSS_COMPILATION="${MXE_DIR}/usr/bin/${MXE_TARGET}-"
|
||||
MXE2_TARGET=$(echo "$MXE_TARGET" | sed 's/_/-/g')
|
||||
export MXE_DIR=/usr/lib/mxe/usr/bin
|
||||
$travis_retry sudo apt-get --yes install \
|
||||
mxe-${MXE2_TARGET}-gcc \
|
||||
mxe-${MXE2_TARGET}-gettext \
|
||||
mxe-${MXE2_TARGET}-glib \
|
||||
mxe-${MXE2_TARGET}-sdl2 \
|
||||
mxe-${MXE2_TARGET}-sdl2-ttf \
|
||||
mxe-${MXE2_TARGET}-sdl2-image \
|
||||
mxe-${MXE2_TARGET}-sdl2-mixer \
|
||||
wine \
|
||||
wine32
|
||||
export PLATFORM='i686-w64-mingw32.static'
|
||||
export CROSS_COMPILATION="${MXE_DIR}/${PLATFORM}-"
|
||||
# Need to overwrite CXX to make the Makefile $CROSS logic work right.
|
||||
export CXX="$COMPILER"
|
||||
export CCACHE=1
|
||||
@@ -92,7 +96,7 @@ if [ -n "${MXE_TARGET}" ]; then
|
||||
exit 1
|
||||
fi
|
||||
set -e
|
||||
sudo tar -xzf libbacktrace-i686-w64-mingw32.tar.gz --exclude=LICENSE -C ${MXE_DIR}/usr/${MXE_TARGET}
|
||||
sudo tar -xzf libbacktrace-i686-w64-mingw32.tar.gz --exclude=LICENSE -C ${MXE_DIR}/../${PLATFORM}
|
||||
fi
|
||||
|
||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
@@ -120,7 +124,7 @@ then
|
||||
do
|
||||
if [ -n "${!v}" ]
|
||||
then
|
||||
printf "%s=%s\n" "$v" "${!v}" >> "$GITHUB_ENV"
|
||||
printf "%s='%s'\n" "$v" "${!v}" >> "$GITHUB_ENV"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
if (Test-path bindist) {
|
||||
rm -Force -Recurse bindist
|
||||
}
|
||||
|
||||
mkdir bindist
|
||||
cp cataclysm-tiles.exe bindist/cataclysm-tiles.exe
|
||||
cp tools/format/json_formatter.exe bindist/json_formatter.exe
|
||||
|
||||
mkdir bindist/lang
|
||||
cp -r lang/mo bindist/lang
|
||||
|
||||
$extras = "data", "doc", "gfx", "LICENSE.txt", "LICENSE-OFL-Terminus-Font.txt", "README.md", "VERSION.txt"
|
||||
ForEach ($extra in $extras) {
|
||||
cp -r $extra bindist
|
||||
}
|
||||
Compress-Archive -Force -Path bindist/* -DestinationPath "cataclysmdda-0.F.zip"
|
||||
+1
-3
@@ -8,9 +8,7 @@ set(CATACLYSM_DATA_DIRS
|
||||
${CMAKE_SOURCE_DIR}/data/raw
|
||||
${CMAKE_SOURCE_DIR}/data/motd
|
||||
${CMAKE_SOURCE_DIR}/data/credits
|
||||
${CMAKE_SOURCE_DIR}/data/title
|
||||
${CMAKE_SOURCE_DIR}/data/core
|
||||
${CMAKE_SOURCE_DIR}/data/help)
|
||||
${CMAKE_SOURCE_DIR}/data/title)
|
||||
|
||||
if (SOUND)
|
||||
set(CATACLYSM_DATA_DIRS
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
|
||||
<assemblyIdentity type="win32" name="com.cleverraven.cataclysmdda" version="0.0.0.0"/>
|
||||
<asmv3:application>
|
||||
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">
|
||||
<activeCodePage>UTF-8</activeCodePage>
|
||||
</asmv3:windowsSettings>
|
||||
</asmv3:application>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
processorArchitecture="*"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
</assembly>
|
||||
@@ -10,7 +10,6 @@
|
||||
"main_part": "bp_null",
|
||||
"connected_to": "bp_null",
|
||||
"opposite_part": "bp_null",
|
||||
"limb_type": "other",
|
||||
"hit_size": 0,
|
||||
"hit_size_relative": [ 0, 0, 0 ],
|
||||
"hit_difficulty": 0,
|
||||
|
||||
Binary file not shown.
Binary file not shown.
+3
-19
@@ -244,22 +244,6 @@
|
||||
{
|
||||
"type": "help",
|
||||
"order": 17,
|
||||
"name": "<s|S>: Skills and proficiencies",
|
||||
"messages": [
|
||||
"SKILLS",
|
||||
"Each character has a collection of skills they may learn over time. These are grouped into four categories: Melee, Ranged, Crafting, and Interaction. Each skill begins at level 0 and increases with study and practice up to a maximum of level 10. Each level is harder to attain than the one before, but each level also increases the character's ability to do things using that skill, and may unlock crafting recipes or other actions gated by skill level. Reaching level 10 in any skill represents true mastery, near the limit of human capability.",
|
||||
"The lower left column of the <press_player_data> screen displays all skills and their current levels, along with percentage progress toward the next level. Skills highlighted in light red represent those where the character's knowledge has exceeded their practical experience. This may occur when learning skills primarily from books, without practicing activities or crafts that also exercise those skills.",
|
||||
"Combat skills in the Melee and Ranged categories are quite specialized, focused on specific damage types and firearm flavors. The Crafting and Interaction categories are more general, each covering a potentially wide range of techniques and abilities.",
|
||||
"PROFICIENCIES",
|
||||
"Separate from Skills, Proficiencies represent a more granular level of character talents. They are generally mastered over a shorter time span, and their names and purviews tend to be more concrete and specific than those of skills.",
|
||||
"Proficiencies are often defined as a tree of knowledge, where beginners must first master the basic principles before moving onto more advanced topics. For instance, before a character learns \"Blacksmithing\", they must first acquire \"Principles of Metalworking\". Once they have learned \"Blacksmithing\", they may dive deeper into \"Armorsmithing\", \"Bladesmithing\", or \"Manual Tooling\".",
|
||||
"The lower right column of the <press_player_data> screen shows each Proficiency, starting in white with those fully learned, followed in grey by those partially learned, and their current progress. Partially learned proficiencies give some benefit, gradually reducing penalties until they are fully learned. Once fully learned, proficiencies are considered mastered, and are not forgotten.",
|
||||
"Many crafting recipes involve one or more proficiencies. Trying to craft these recipes without the necessary skill set is a long and arduous process with a high rate of failure. Learning the missing proficiencies offers a bonus to time and to chance of success. The effect of missing proficiencies are multiplied when several proficiencies are involved, making some advanced recipes extremely time-consuming and error-prone without appropriate knowledge. For this reason, it's recommended to learn at least some of the proficiencies with easier recipes before moving onto more advanced multiple-proficiency recipes. Books may also grant a portion of the proficiency bonus."
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "help",
|
||||
"order": 18,
|
||||
"name": "<1>: List of item types and data",
|
||||
"messages": [
|
||||
"~ Liquid\n%% Food\n! Medication\nThese are all consumed by using <press_eat>. They may provide a certain amount of nutrition, may quench your thirst, may be a stimulant or a depressant, and may provide (or reduce!) morale. There may also be more subtle effects.",
|
||||
@@ -274,7 +258,7 @@
|
||||
},
|
||||
{
|
||||
"type": "help",
|
||||
"order": 19,
|
||||
"order": 18,
|
||||
"name": "<2>: Description of map symbols",
|
||||
"messages": [
|
||||
"MAP SYMBOLS:",
|
||||
@@ -302,7 +286,7 @@
|
||||
},
|
||||
{
|
||||
"type": "help",
|
||||
"order": 20,
|
||||
"order": 19,
|
||||
"name": "<3>: Description of gun types",
|
||||
"messages": [
|
||||
"<color_light_gray>( Handguns</color>\nHandguns are small weapons held in one or both hands. They are much more difficult to aim and control than larger firearms, and this is reflected in their poor accuracy. However, their small size makes them appropriate for short-range combat. They are also relatively quick to reload and use a very wide variety of ammunition. Their small size and low weight make it possible to carry several loaded handguns, switching from one to the next as their ammo is spent.",
|
||||
@@ -318,7 +302,7 @@
|
||||
},
|
||||
{
|
||||
"type": "help",
|
||||
"order": 21,
|
||||
"order": 20,
|
||||
"name": "<4>: FAQ (contains spoilers!)",
|
||||
"messages": [
|
||||
"Q: What is Safe Mode, and why does it prevent me from moving?\nA: Safe Mode is a way to guarantee that you won't die by holding a movement key down. When a monster comes into view, your movement will be ignored until Safe Mode is turned off with the <press_safemode> key. This ensures that the sudden appearance of a monster won't catch you off guard.",
|
||||
|
||||
@@ -343,20 +343,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "achievement_mutation_threshold_rabbit",
|
||||
"type": "achievement",
|
||||
"name": "Finally beat the tortoise",
|
||||
"requirements": [
|
||||
{
|
||||
"event_statistic": "avatar_last_crosses_mutation_threshold",
|
||||
"is": "==",
|
||||
"target": [ "mutation_category_id", "RABBIT" ],
|
||||
"description": "crossed rabbit mutation threshold",
|
||||
"visible": "when_achievement_completed"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "achievement_mutation_threshold_insect",
|
||||
"type": "achievement",
|
||||
@@ -553,34 +539,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "achievement_mutation_threshold_gastropod",
|
||||
"type": "achievement",
|
||||
"name": "Carrying your home on your back",
|
||||
"requirements": [
|
||||
{
|
||||
"event_statistic": "avatar_last_crosses_mutation_threshold",
|
||||
"is": "==",
|
||||
"target": [ "mutation_category_id", "GASTROPOD" ],
|
||||
"description": "crossed gastropod mutation threshold",
|
||||
"visible": "when_achievement_completed"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "achievement_mutation_threshold_batrachian",
|
||||
"type": "achievement",
|
||||
"name": "Leaping forward in life",
|
||||
"requirements": [
|
||||
{
|
||||
"event_statistic": "avatar_last_crosses_mutation_threshold",
|
||||
"is": "==",
|
||||
"target": [ "mutation_category_id", "BATRACHIAN" ],
|
||||
"description": "crossed batrachian mutation threshold",
|
||||
"visible": "when_achievement_completed"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "achievement_mutation_threshold_alpha",
|
||||
"type": "achievement",
|
||||
@@ -823,7 +781,7 @@
|
||||
"id": "achievement_lvl_10_tailor",
|
||||
"type": "achievement",
|
||||
"name": "Fashion Designer",
|
||||
"description": "From catwalk to cataclysm.",
|
||||
"description": "Male, female, and mutant fashion alike.",
|
||||
"requirements": [ { "event_statistic": "num_gains_tailor_level_10", "is": ">=", "target": 1 } ],
|
||||
"hidden_by": [ "achievement_lvl_7_tailor" ]
|
||||
},
|
||||
|
||||
+16
-16
@@ -18,7 +18,7 @@
|
||||
"power": 0,
|
||||
"distance_factor": 0.8,
|
||||
"fire": false,
|
||||
"shrapnel": { "casing_mass": 0, "fragment_mass": 0.0025, "recovery": 0, "drop": "null" }
|
||||
"shrapnel": { "casing_mass": 0, "fragment_mass": 0.005, "recovery": 0, "drop": "null" }
|
||||
},
|
||||
"do_flashbang": false,
|
||||
"do_emp_blast": false
|
||||
@@ -125,17 +125,17 @@
|
||||
{
|
||||
"id": "EXPLOSIVE_RAUFOSS",
|
||||
"type": "ammo_effect",
|
||||
"explosion": { "power": 2.4, "shrapnel": { "casing_mass": 28, "fragment_mass": 7 } }
|
||||
"explosion": { "power": 2.4, "shrapnel": { "casing_mass": 28, "fragment_mass": 14 } }
|
||||
},
|
||||
{
|
||||
"id": "FRAG",
|
||||
"type": "ammo_effect",
|
||||
"explosion": { "power": 185, "shrapnel": { "casing_mass": 212, "fragment_mass": 0.025 } }
|
||||
"explosion": { "power": 185, "shrapnel": { "casing_mass": 212, "fragment_mass": 0.05 } }
|
||||
},
|
||||
{
|
||||
"id": "FRAG_20x66",
|
||||
"type": "ammo_effect",
|
||||
"explosion": { "power": 40, "shrapnel": { "casing_mass": 15, "fragment_mass": 0.08 } }
|
||||
"explosion": { "power": 40, "shrapnel": { "casing_mass": 15, "fragment_mass": 0.15 } }
|
||||
},
|
||||
{
|
||||
"id": "EXPLOSIVE_20x66",
|
||||
@@ -150,62 +150,62 @@
|
||||
{
|
||||
"id": "EXPLOSIVE_m430a1",
|
||||
"type": "ammo_effect",
|
||||
"explosion": { "power": 72, "shrapnel": { "casing_mass": 250, "fragment_mass": 0.08 } }
|
||||
"explosion": { "power": 72, "shrapnel": { "casing_mass": 250, "fragment_mass": 0.15 } }
|
||||
},
|
||||
{
|
||||
"id": "EXPLOSIVE_m433",
|
||||
"type": "ammo_effect",
|
||||
"explosion": { "power": 42, "shrapnel": { "casing_mass": 198, "fragment_mass": 0.08 } }
|
||||
"explosion": { "power": 42, "shrapnel": { "casing_mass": 198, "fragment_mass": 0.15 } }
|
||||
},
|
||||
{
|
||||
"id": "EXPLOSIVE_HOMEMADE",
|
||||
"type": "ammo_effect",
|
||||
"explosion": { "power": 400, "shrapnel": { "casing_mass": 680, "fragment_mass": 0.15 } }
|
||||
"explosion": { "power": 400, "shrapnel": { "casing_mass": 680, "fragment_mass": 0.3 } }
|
||||
},
|
||||
{
|
||||
"id": "EXPLOSIVE_66mmHEAT",
|
||||
"type": "ammo_effect",
|
||||
"explosion": { "power": 400, "shrapnel": { "casing_mass": 680, "fragment_mass": 0.15 } }
|
||||
"explosion": { "power": 400, "shrapnel": { "casing_mass": 680, "fragment_mass": 0.3 } }
|
||||
},
|
||||
{
|
||||
"id": "EXPLOSIVE_OG7V",
|
||||
"type": "ammo_effect",
|
||||
"explosion": { "power": 266, "shrapnel": { "casing_mass": 1500, "fragment_mass": 0.08 } }
|
||||
"explosion": { "power": 266, "shrapnel": { "casing_mass": 1500, "fragment_mass": 0.15 } }
|
||||
},
|
||||
{
|
||||
"id": "EXPLOSIVE_PG7VL",
|
||||
"type": "ammo_effect",
|
||||
"explosion": { "power": 598, "shrapnel": { "casing_mass": 1500, "fragment_mass": 0.15 } }
|
||||
"explosion": { "power": 598, "shrapnel": { "casing_mass": 1500, "fragment_mass": 0.3 } }
|
||||
},
|
||||
{
|
||||
"id": "EXPLOSIVE_PG7VR",
|
||||
"type": "ammo_effect",
|
||||
"explosion": { "power": 1995, "shrapnel": { "casing_mass": 2500, "fragment_mass": 0.15 } }
|
||||
"explosion": { "power": 1995, "shrapnel": { "casing_mass": 2500, "fragment_mass": 0.3 } }
|
||||
},
|
||||
{
|
||||
"id": "EXPLOSIVE_TBG7V",
|
||||
"type": "ammo_effect",
|
||||
"explosion": { "power": 66, "shrapnel": { "casing_mass": 2500, "fragment_mass": 0.15 } }
|
||||
"explosion": { "power": 66, "shrapnel": { "casing_mass": 2500, "fragment_mass": 0.3 } }
|
||||
},
|
||||
{
|
||||
"id": "EXPLOSIVE_84x246HE",
|
||||
"type": "ammo_effect",
|
||||
"explosion": { "power": 665, "shrapnel": { "casing_mass": 1500, "fragment_mass": 0.08 } }
|
||||
"explosion": { "power": 665, "shrapnel": { "casing_mass": 1500, "fragment_mass": 0.15 } }
|
||||
},
|
||||
{
|
||||
"id": "EXPLOSIVE_84x246HEDP",
|
||||
"type": "ammo_effect",
|
||||
"explosion": { "power": 798, "shrapnel": { "casing_mass": 1500, "fragment_mass": 0.15 } }
|
||||
"explosion": { "power": 798, "shrapnel": { "casing_mass": 1500, "fragment_mass": 0.3 } }
|
||||
},
|
||||
{
|
||||
"id": "EXPLOSIVE_ATGMHEAT",
|
||||
"type": "ammo_effect",
|
||||
"explosion": { "power": 5985, "shrapnel": { "casing_mass": 18000, "fragment_mass": 0.5 } }
|
||||
"explosion": { "power": 5985, "shrapnel": { "casing_mass": 18000, "fragment_mass": 1.0 } }
|
||||
},
|
||||
{
|
||||
"id": "EXPLOSIVE_120mmHEAT",
|
||||
"type": "ammo_effect",
|
||||
"explosion": { "power": 7980, "shrapnel": { "casing_mass": 8725, "fragment_mass": 0.5 } }
|
||||
"explosion": { "power": 7980, "shrapnel": { "casing_mass": 8725, "fragment_mass": 1.0 } }
|
||||
},
|
||||
{
|
||||
"id": "MININUKE_MOD",
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
"id": "AEA_TELEPORT",
|
||||
"name": { "str": "Artifact Teleport" },
|
||||
"description": "Randomly teleports you a short distance.",
|
||||
"effect": "short_range_teleport",
|
||||
"effect": "teleport_random",
|
||||
"shape": "blast",
|
||||
"valid_targets": [ "self" ],
|
||||
"flags": [ "NO_HANDS", "SILENT", "NO_LEGS", "UNSAFE_TELEPORT" ],
|
||||
|
||||
+119
-258
@@ -4,7 +4,7 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Adrenaline Pump" },
|
||||
"description": "A stimulator system has been surgically implanted alongside your adrenal glands, allowing you to trigger your body's adrenaline response at the cost of some bionic power.",
|
||||
"occupied_bodyparts": [ [ "torso", 4 ] ],
|
||||
"occupied_bodyparts": [ [ "torso", 6 ] ],
|
||||
"act_cost": "5 J"
|
||||
},
|
||||
{
|
||||
@@ -16,7 +16,6 @@
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
|
||||
"act_cost": 10,
|
||||
"react_cost": 10,
|
||||
"trigger_cost": "25kJ",
|
||||
"time": 1
|
||||
},
|
||||
{
|
||||
@@ -28,7 +27,6 @@
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_SLEEP_FRIENDLY" ],
|
||||
"act_cost": "1 J",
|
||||
"react_cost": "1 J",
|
||||
"trigger_cost": "25 kJ",
|
||||
"time": 1
|
||||
},
|
||||
{
|
||||
@@ -42,14 +40,12 @@
|
||||
{
|
||||
"id": "bio_armor_arms",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Intradermal Alloy - Arms" },
|
||||
"description": "An advanced protective meshwork has been woven into the flesh on your arms and hands, protecting them from physical trauma.",
|
||||
"occupied_bodyparts": [ [ "arm_l", 4 ], [ "arm_r", 4 ], [ "hand_l", 1 ], [ "hand_r", 1 ] ],
|
||||
"bash_protec": [ [ "arm_l", 3 ], [ "arm_r", 3 ], [ "hand_l", 3 ], [ "hand_r", 3 ] ],
|
||||
"cut_protec": [ [ "arm_l", 3 ], [ "arm_r", 3 ], [ "hand_l", 3 ], [ "hand_r", 3 ] ],
|
||||
"bullet_protec": [ [ "arm_l", 3 ], [ "arm_r", 3 ], [ "hand_l", 3 ], [ "hand_r", 3 ] ],
|
||||
"encumbrance": [ [ "arm_l", 1 ], [ "arm_r", 1 ], [ "hand_l", 1 ], [ "hand_r", 1 ] ],
|
||||
"cant_remove_reason": "The Intradermal Alloy is too thoroughly entwined with %1$s to be removed safely.",
|
||||
"name": { "str": "Alloy Plating - Arms" },
|
||||
"description": "The flesh on your arms has been surgically replaced by alloy plating. Provides passive protection and can be used in conjunction with bionic martial arts.",
|
||||
"occupied_bodyparts": [ [ "arm_l", 4 ], [ "arm_r", 4 ] ],
|
||||
"bash_protec": [ [ "arm_l", 3 ], [ "arm_r", 3 ] ],
|
||||
"cut_protec": [ [ "arm_l", 3 ], [ "arm_r", 3 ] ],
|
||||
"bullet_protec": [ [ "arm_l", 3 ], [ "arm_r", 3 ] ],
|
||||
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
|
||||
"mutation_conflicts": [
|
||||
"THICKSKIN",
|
||||
@@ -120,26 +116,7 @@
|
||||
"CLAWS_TENTACLES",
|
||||
"ACIDPROOF",
|
||||
"TOXICFLESH",
|
||||
"FRESHWATEROSMOSIS",
|
||||
"PAWS",
|
||||
"PAWS_LARGE",
|
||||
"NAILS",
|
||||
"TALONS",
|
||||
"CLAWS",
|
||||
"CLAWS_RETRACT",
|
||||
"CLAWS_RAT",
|
||||
"CLAWS_ST",
|
||||
"WEBBED",
|
||||
"PATCHSKIN1",
|
||||
"PATCHSKIN2",
|
||||
"RABBIT_FUR",
|
||||
"PAWS_LITTLE",
|
||||
"BOVINE_BULK",
|
||||
"BOVINE_BULK2",
|
||||
"FAT",
|
||||
"SLIME_SPRAY",
|
||||
"MUCUS_SECRETION",
|
||||
"MUCUS_SECRETION2"
|
||||
"FRESHWATEROSMOSIS"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -152,22 +129,18 @@
|
||||
"bash_protec": [ [ "eyes", 3 ] ],
|
||||
"cut_protec": [ [ "eyes", 3 ] ],
|
||||
"bullet_protec": [ [ "eyes", 3 ] ],
|
||||
"encumbrance": [ [ "eyes", 1 ] ],
|
||||
"mutation_conflicts": [ "COMPOUND_EYES", "CEPH_VISION", "CEPH_EYES", "EYEBULGE", "EYESTALKS1", "EYESTALKS2" ],
|
||||
"cant_remove_reason": "The Intradermal Plating is too thoroughly entwined with %1$s to be removed safely.",
|
||||
"mutation_conflicts": [ "COMPOUND_EYES", "CEPH_VISION", "CEPH_EYES", "EYEBULGE" ],
|
||||
"social_modifiers": { "intimidate": 10 }
|
||||
},
|
||||
{
|
||||
"id": "bio_armor_head",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Intradermal Alloy - head" },
|
||||
"description": "An advanced protective meshwork has been woven into the flesh on your head and jaw region, protecting your skull from physical trauma.",
|
||||
"occupied_bodyparts": [ [ "head", 3 ], [ "mouth", 1 ] ],
|
||||
"bash_protec": [ [ "head", 3 ], [ "mouth", 3 ] ],
|
||||
"cut_protec": [ [ "head", 3 ], [ "mouth", 3 ] ],
|
||||
"bullet_protec": [ [ "head", 3 ], [ "mouth", 3 ] ],
|
||||
"encumbrance": [ [ "head", 1 ] ],
|
||||
"cant_remove_reason": "The Intradermal Alloy is too thoroughly entwined with %1$s to be removed safely.",
|
||||
"name": { "str": "Alloy Plating - head" },
|
||||
"description": "The flesh on your head has been surgically replaced by alloy plating, protecting both your head and jaw regions.",
|
||||
"occupied_bodyparts": [ [ "head", 5 ], [ "mouth", 1 ] ],
|
||||
"bash_protec": [ [ "head", 3 ] ],
|
||||
"cut_protec": [ [ "head", 3 ] ],
|
||||
"bullet_protec": [ [ "head", 3 ] ],
|
||||
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
|
||||
"mutation_conflicts": [
|
||||
"THICKSKIN",
|
||||
@@ -245,48 +218,18 @@
|
||||
"MUZZLE_BEAR",
|
||||
"MUZZLE_RAT",
|
||||
"MUZZLE_LONG",
|
||||
"PROBISCIS",
|
||||
"MOUTH_FLAPS",
|
||||
"MOUTH_TENTACLES",
|
||||
"MANDIBLES",
|
||||
"FANGS_SPIDER",
|
||||
"BEAK",
|
||||
"BEAK_PECK",
|
||||
"BEAK_HUM",
|
||||
"GIZZARD",
|
||||
"FELINE_EARS",
|
||||
"CANINE_EARS",
|
||||
"LUPINE_EARS",
|
||||
"RABBIT_EARS",
|
||||
"MOUSE_EARS",
|
||||
"PATCHSKIN1",
|
||||
"PATCHSKIN2",
|
||||
"RABBIT_FUR",
|
||||
"RABBIT_NOSE",
|
||||
"SLIT_NOSTRILS",
|
||||
"WHISKERS",
|
||||
"WHISKERS_RAT",
|
||||
"PAWS_LITTLE",
|
||||
"BOVINE_BULK",
|
||||
"BOVINE_BULK2",
|
||||
"FAT",
|
||||
"SLIME_SPRAY",
|
||||
"MUCUS_SECRETION",
|
||||
"MUCUS_SECRETION2",
|
||||
"WIDE_MOUTH"
|
||||
"PROBISCIS"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "bio_armor_legs",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Intradermal Alloy - Legs" },
|
||||
"description": "An advanced protective meshwork has been woven into the flesh on your legs and feet, protecting them from physical trauma.",
|
||||
"occupied_bodyparts": [ [ "leg_l", 6 ], [ "leg_r", 6 ], [ "foot_l", 1 ], [ "foot_r", 1 ] ],
|
||||
"bash_protec": [ [ "leg_l", 3 ], [ "leg_r", 3 ], [ "foot_l", 3 ], [ "foot_r", 3 ] ],
|
||||
"cut_protec": [ [ "leg_l", 3 ], [ "leg_r", 3 ], [ "foot_l", 3 ], [ "foot_r", 3 ] ],
|
||||
"bullet_protec": [ [ "leg_l", 3 ], [ "leg_r", 3 ], [ "foot_l", 3 ], [ "foot_r", 3 ] ],
|
||||
"encumbrance": [ [ "leg_l", 1 ], [ "leg_r", 1 ], [ "foot_l", 1 ], [ "foot_r", 1 ] ],
|
||||
"cant_remove_reason": "The Intradermal Alloy is too thoroughly entwined with %1$s to be removed safely.",
|
||||
"name": { "str": "Alloy Plating - Legs" },
|
||||
"description": "The flesh on your legs has been surgically replaced by alloy plating. Provides passive protection and can be used in conjunction with bionic martial arts.",
|
||||
"occupied_bodyparts": [ [ "leg_l", 6 ], [ "leg_r", 6 ] ],
|
||||
"bash_protec": [ [ "leg_l", 3 ], [ "leg_r", 3 ] ],
|
||||
"cut_protec": [ [ "leg_l", 3 ], [ "leg_r", 3 ] ],
|
||||
"bullet_protec": [ [ "leg_l", 3 ], [ "leg_r", 3 ] ],
|
||||
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
|
||||
"mutation_conflicts": [
|
||||
"THICKSKIN",
|
||||
@@ -355,38 +298,19 @@
|
||||
"TAIL_STING",
|
||||
"TAIL_CLUB",
|
||||
"LEG_TENTACLES",
|
||||
"LEG_TENT_BRACE",
|
||||
"RAP_TALONS",
|
||||
"HOOVES",
|
||||
"PADDED_FEET",
|
||||
"PATCHSKIN1",
|
||||
"PATCHSKIN2",
|
||||
"RABBIT_FUR",
|
||||
"TAIL_RABBIT",
|
||||
"RABBIT_FEET",
|
||||
"PAWS_LITTLE",
|
||||
"BOVINE_BULK",
|
||||
"BOVINE_BULK2",
|
||||
"FAT",
|
||||
"SLIME_SPRAY",
|
||||
"GASTROPOD_FOOT",
|
||||
"GASTROPOD_BALANCE",
|
||||
"MUCUS_SECRETION",
|
||||
"MUCUS_SECRETION2"
|
||||
"LEG_TENT_BRACE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "bio_armor_torso",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Intradermal Alloy - torso" },
|
||||
"description": "An advanced protective meshwork has been woven into the flesh on your torso, protecting it from physical trauma.",
|
||||
"name": { "str": "Alloy Plating - torso" },
|
||||
"description": "The flesh on your torso has been surgically replaced by alloy plating, protecting it from physical trauma.",
|
||||
"occupied_bodyparts": [ [ "torso", 10 ] ],
|
||||
"bash_protec": [ [ "torso", 3 ] ],
|
||||
"cut_protec": [ [ "torso", 3 ] ],
|
||||
"bullet_protec": [ [ "torso", 3 ] ],
|
||||
"encumbrance": [ [ "torso", 3 ] ],
|
||||
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ],
|
||||
"cant_remove_reason": "The Intradermal Alloy is too thoroughly entwined with %1$s to be removed safely.",
|
||||
"canceled_mutations": [ "VINES1", "VINES2", "VINES3" ],
|
||||
"mutation_conflicts": [
|
||||
"THICKSKIN",
|
||||
@@ -451,27 +375,15 @@
|
||||
"ARACHNID_ARMS_OK",
|
||||
"CLAWS_TENTACLES",
|
||||
"SHELL",
|
||||
"SHELL2",
|
||||
"PATCHSKIN1",
|
||||
"PATCHSKIN2",
|
||||
"RABBIT_FUR",
|
||||
"PAWS_LITTLE",
|
||||
"BOVINE_BULK",
|
||||
"BOVINE_BULK2",
|
||||
"FAT",
|
||||
"SLIME_SPRAY",
|
||||
"INSECT_RESEVOIR",
|
||||
"MUCUS_SECRETION",
|
||||
"MUCUS_SECRETION2",
|
||||
"SHELL3"
|
||||
"SHELL2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "bio_batteries",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Battery System" },
|
||||
"description": "You have a battery draining attachment, and thus can make use of the energy contained in normal, everyday batteries. Use bionic menu to drain charge from a battery. Can be toggled on and off at will.",
|
||||
"occupied_bodyparts": [ [ "torso", 20 ] ],
|
||||
"description": "You have a battery draining attachment, and thus can make use of the energy contained in normal, everyday batteries. Use 'E' to drain charge from a battery. Can be toggled on and off at will.",
|
||||
"occupied_bodyparts": [ [ "torso", 25 ] ],
|
||||
"fuel_options": [ "battery" ],
|
||||
"fuel_efficiency": 1,
|
||||
"fuel_capacity": 2000,
|
||||
@@ -483,21 +395,20 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Monomolecular Blade" },
|
||||
"description": "A deadly foot-long blade made of advanced material now resides inside your forearm, capable of being extended through the back of your wrist at the cost of a small amount of power. Though exceptionally sharp, it will prevent you from holding anything else while extended.",
|
||||
"occupied_bodyparts": [ [ "arm_r", 7 ], [ "hand_r", 1 ] ],
|
||||
"encumbrance": [ [ "arm_r", 2 ] ],
|
||||
"occupied_bodyparts": [ [ "arm_r", 5 ], [ "hand_r", 2 ] ],
|
||||
"act_cost": "50 J",
|
||||
"fake_weapon": "bio_blade_weapon",
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_WEAPON", "BIONIC_NPC_USABLE", "USES_BIONIC_POWER" ]
|
||||
"fake_item": "bio_blade_weapon",
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_WEAPON", "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_shotgun",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Shotgun Arm" },
|
||||
"description": "Concealed in your left arm is a single shot 12 gauge shotgun. Activate the bionic to fire and reload the shotgun.",
|
||||
"occupied_bodyparts": [ [ "arm_l", 12 ] ],
|
||||
"occupied_bodyparts": [ [ "arm_l", 15 ] ],
|
||||
"encumbrance": [ [ "arm_l", 5 ] ],
|
||||
"act_cost": "50 J",
|
||||
"fake_weapon": "bio_shotgun_gun",
|
||||
"fake_item": "bio_shotgun_gun",
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_WEAPON", "NO_UNWIELD" ]
|
||||
},
|
||||
{
|
||||
@@ -514,15 +425,15 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Blood Analysis" },
|
||||
"description": "Small sensors have been surgically implanted in your heart, allowing you to analyze your blood. This will detect many illnesses, drugs, and other conditions.",
|
||||
"occupied_bodyparts": [ [ "torso", 4 ] ],
|
||||
"occupied_bodyparts": [ [ "torso", 5 ] ],
|
||||
"act_cost": "100 J"
|
||||
},
|
||||
{
|
||||
"id": "bio_blood_filter",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Blood Filter" },
|
||||
"description": "A filtration system near your heart allows you to actively filter out chemical impurities, primarily drugs. It will have limited impact on viruses. Note that it is not a targeted filter; ALL drugs in your system will be affected.",
|
||||
"occupied_bodyparts": [ [ "torso", 5 ] ],
|
||||
"description": "A filtration system in your heart allows you to actively filter out chemical impurities, primarily drugs. It will have limited impact on viruses. Note that it is not a targeted filter; ALL drugs in your system will be affected.",
|
||||
"occupied_bodyparts": [ [ "torso", 10 ] ],
|
||||
"act_cost": "600 J"
|
||||
},
|
||||
{
|
||||
@@ -530,7 +441,7 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Cable Charger System" },
|
||||
"description": "You have a complex port surgically mounted above your hip. While active, it will recharge bionic power when connected to a power source via jumper cable.",
|
||||
"occupied_bodyparts": [ [ "torso", 7 ] ],
|
||||
"occupied_bodyparts": [ [ "torso", 10 ] ],
|
||||
"is_remote_fueled": true,
|
||||
"time": 1,
|
||||
"fuel_efficiency": 1,
|
||||
@@ -542,52 +453,52 @@
|
||||
"name": { "str": "Subdermal Carbon Filament" },
|
||||
"description": "Lying just beneath your skin is a thin armor made of carbon nanotubes. This reduces bashing damage by 2 and cutting damage by 4.",
|
||||
"occupied_bodyparts": [
|
||||
[ "torso", 6 ],
|
||||
[ "torso", 5 ],
|
||||
[ "head", 2 ],
|
||||
[ "arm_l", 2 ],
|
||||
[ "arm_r", 2 ],
|
||||
[ "hand_l", 1 ],
|
||||
[ "hand_r", 1 ],
|
||||
[ "leg_l", 3 ],
|
||||
[ "leg_r", 3 ],
|
||||
[ "foot_l", 1 ],
|
||||
[ "foot_r", 1 ],
|
||||
[ "hand_l", 1 ],
|
||||
[ "hand_r", 1 ]
|
||||
[ "foot_r", 1 ]
|
||||
],
|
||||
"bash_protec": [
|
||||
[ "torso", 2 ],
|
||||
[ "head", 2 ],
|
||||
[ "arm_l", 2 ],
|
||||
[ "arm_r", 2 ],
|
||||
[ "hand_l", 2 ],
|
||||
[ "hand_r", 2 ],
|
||||
[ "leg_l", 2 ],
|
||||
[ "leg_r", 2 ],
|
||||
[ "foot_l", 2 ],
|
||||
[ "foot_r", 2 ],
|
||||
[ "hand_l", 2 ],
|
||||
[ "hand_r", 2 ]
|
||||
[ "foot_r", 2 ]
|
||||
],
|
||||
"cut_protec": [
|
||||
[ "torso", 4 ],
|
||||
[ "head", 4 ],
|
||||
[ "arm_l", 4 ],
|
||||
[ "arm_r", 4 ],
|
||||
[ "hand_l", 4 ],
|
||||
[ "hand_r", 4 ],
|
||||
[ "leg_l", 4 ],
|
||||
[ "leg_r", 4 ],
|
||||
[ "foot_l", 4 ],
|
||||
[ "foot_r", 4 ],
|
||||
[ "hand_l", 4 ],
|
||||
[ "hand_r", 4 ]
|
||||
[ "foot_r", 4 ]
|
||||
],
|
||||
"bullet_protec": [
|
||||
[ "torso", 4 ],
|
||||
[ "head", 4 ],
|
||||
[ "arm_l", 4 ],
|
||||
[ "arm_r", 4 ],
|
||||
[ "hand_l", 4 ],
|
||||
[ "hand_r", 4 ],
|
||||
[ "leg_l", 4 ],
|
||||
[ "leg_r", 4 ],
|
||||
[ "foot_l", 4 ],
|
||||
[ "foot_r", 4 ],
|
||||
[ "hand_l", 4 ],
|
||||
[ "hand_r", 4 ]
|
||||
[ "foot_r", 4 ]
|
||||
],
|
||||
"flags": [ "BIONIC_NPC_USABLE", "BIONIC_SHOCKPROOF" ]
|
||||
},
|
||||
@@ -596,9 +507,9 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Chain Lightning" },
|
||||
"description": "Your body is equipped with a chain lightning generator, allowing you to emit a blast of lightning at a target, leaving a trail of lightning in its wake, jumping to additional targets within 4 tiles of the previous target.",
|
||||
"occupied_bodyparts": [ [ "torso", 16 ], [ "arm_l", 4 ] ],
|
||||
"occupied_bodyparts": [ [ "torso", 16 ], [ "arm_l", 4 ], [ "arm_r", 4 ] ],
|
||||
"act_cost": "100 kJ",
|
||||
"fake_weapon": "bio_lightning",
|
||||
"fake_item": "bio_lightning",
|
||||
"flags": [ "BIONIC_GUN", "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
{
|
||||
@@ -606,10 +517,9 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Bionic Claws" },
|
||||
"description": "Vicious claws have been surgically installed inside your fingers, allowing you to extend and retract them at the cost of a small amount of power. These do considerable cutting damage, but prevent you from holding anything else while extended.",
|
||||
"occupied_bodyparts": [ [ "hand_l", 4 ], [ "hand_r", 4 ] ],
|
||||
"encumbrance": [ [ "hand_l", 3 ], [ "hand_r", 3 ] ],
|
||||
"occupied_bodyparts": [ [ "hand_l", 5 ], [ "hand_r", 5 ] ],
|
||||
"act_cost": "25 J",
|
||||
"fake_weapon": "bio_claws_weapon",
|
||||
"fake_item": "bio_claws_weapon",
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_WEAPON", "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
{
|
||||
@@ -641,7 +551,7 @@
|
||||
"name": { "str": "Cloaking System" },
|
||||
"description": "This high-power system uses a set of cameras and LEDs to make you blend into your background, rendering you fully invisible to normal vision. However, you may be detected by infrared, sonar, etc.",
|
||||
"occupied_bodyparts": [
|
||||
[ "torso", 8 ],
|
||||
[ "torso", 15 ],
|
||||
[ "head", 2 ],
|
||||
[ "arm_l", 3 ],
|
||||
[ "arm_r", 3 ],
|
||||
@@ -663,7 +573,7 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Close Quarters Battle" },
|
||||
"description": "Bionic processors and databanks, loaded with martial arts combat programs, are surgically integrated into your nervous system. Whilst active, the CQB module will improve your hand-to-hand combat skills, but prevents you from improving them through combat experience.",
|
||||
"occupied_bodyparts": [ [ "head", 3 ] ],
|
||||
"occupied_bodyparts": [ [ "head", 4 ] ],
|
||||
"act_cost": "20 J",
|
||||
"react_cost": "20 J",
|
||||
"time": 1,
|
||||
@@ -683,7 +593,7 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Wired Reflexes" },
|
||||
"description": "Your reaction time has been greatly enhanced with bionic nerve stimulators, giving you a +2 bonus to dexterity.",
|
||||
"occupied_bodyparts": [ [ "head", 3 ], [ "torso", 6 ], [ "arm_l", 3 ], [ "arm_r", 3 ], [ "leg_l", 7 ], [ "leg_r", 7 ] ],
|
||||
"occupied_bodyparts": [ [ "torso", 6 ], [ "arm_l", 4 ], [ "arm_r", 4 ], [ "leg_l", 8 ], [ "leg_r", 8 ] ],
|
||||
"stat_bonus": [ [ "DEX", 2 ] ],
|
||||
"flags": [ "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
@@ -710,8 +620,7 @@
|
||||
"name": { "str": "Electrical Discharge" },
|
||||
"description": "A malfunctioning bionic which occasionally discharges electricity through your body, causing pain and brief paralysis but no damage.",
|
||||
"occupied_bodyparts": [ [ "torso", 6 ] ],
|
||||
"flags": [ "BIONIC_FAULTY" ],
|
||||
"trigger_cost": "10 kJ"
|
||||
"flags": [ "BIONIC_FAULTY" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_drain",
|
||||
@@ -728,36 +637,34 @@
|
||||
"description": "When this bionic is active, you can block hearing completely.",
|
||||
"included": true,
|
||||
"flags": [ "BIONIC_TOGGLED" ],
|
||||
"active_flags": [ "DEAF" ],
|
||||
"auto_deactivates": [ "bio_ears" ]
|
||||
"active_flags": [ "DEAF" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_ears",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Enhanced Hearing" },
|
||||
"description": "When this bionic is active, your hearing will be drastically improved, allowing you to hear ten times better than the average person. Additionally, high-intensity sounds will be automatically dampened before they can damage your hearing.",
|
||||
"occupied_bodyparts": [ [ "head", 2 ] ],
|
||||
"occupied_bodyparts": [ [ "head", 3 ] ],
|
||||
"flags": [ "BIONIC_TOGGLED", "IMMUNE_HEARING_DAMAGE" ],
|
||||
"active_flags": [ "SUPER_HEARING" ],
|
||||
"auto_deactivates": [ "bio_earplugs" ],
|
||||
"included_bionics": [ "bio_earplugs" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_emp",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Directional EMP" },
|
||||
"description": "Surgically mounted in your left arm and the palm of your left hand are small parabolic EMP field generators. You may use power to fire a wide but short-ranged blast that will disable electronics and robots.",
|
||||
"occupied_bodyparts": [ [ "arm_l", 6 ], [ "hand_l", 1 ] ],
|
||||
"description": "Surgically mounted in the palm of your hand are small parabolic EMP field generators. You may use power to fire a wide, but short-ranged blast which will disable electronics and robots.",
|
||||
"occupied_bodyparts": [ [ "arm_r", 1 ], [ "hand_r", 2 ] ],
|
||||
"act_cost": "50 kJ"
|
||||
},
|
||||
{
|
||||
"type": "bionic",
|
||||
"id": "bio_emp_armgun",
|
||||
"name": { "str": "EMP Projector" },
|
||||
"description": "A ranged EMP generator system is implanted in your right arm and the palm of your right hand. The system fires precise, single-target pulses that require time to aim. Extremely effective against electronic targets but mostly useless otherwise.",
|
||||
"occupied_bodyparts": [ [ "arm_r", 8 ], [ "hand_r", 2 ] ],
|
||||
"description": "A ranged EMP generator system is implanted on the palm of your right hand and arm. The system fires precise, single-target pulses that require time to aim. Extremely effective against electronic targets but mostly useless otherwise.",
|
||||
"occupied_bodyparts": [ [ "arm_r", 10 ], [ "hand_r", 5 ] ],
|
||||
"act_cost": "50 kJ",
|
||||
"fake_weapon": "bio_emp_gun",
|
||||
"fake_item": "bio_emp_gun",
|
||||
"flags": [ "BIONIC_GUN" ]
|
||||
},
|
||||
{
|
||||
@@ -765,9 +672,9 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Ethanol Burner" },
|
||||
"description": "You burn alcohol as fuel in an extremely efficient reaction.",
|
||||
"occupied_bodyparts": [ [ "torso", 20 ] ],
|
||||
"occupied_bodyparts": [ [ "torso", 26 ] ],
|
||||
"fuel_options": [ "alcohol" ],
|
||||
"fuel_capacity": 400,
|
||||
"fuel_capacity": 500,
|
||||
"fuel_efficiency": 0.5,
|
||||
"exothermic_power_gen": true,
|
||||
"time": 1,
|
||||
@@ -799,7 +706,6 @@
|
||||
"description": "Much of the material in your inner eye has been surgically removed and replaced with an array of high-powered, auto-focusing lenses. They function as integrated binoculars, letting you see much farther than before, and any vision problems you might have had are now gone.",
|
||||
"occupied_bodyparts": [ [ "eyes", 2 ] ],
|
||||
"flags": [ "ENHANCED_VISION" ],
|
||||
"cant_remove_reason": "The Telescopic Lenses are part of %1$s eyes now. Removing them would leave %2$s blind.",
|
||||
"canceled_mutations": [
|
||||
"HYPEROPIC",
|
||||
"MYOPIC",
|
||||
@@ -859,16 +765,16 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Fingerhack" },
|
||||
"description": "One of your fingers has an electrohack surgically embedded in it; an all-purpose hacking unit used to override control panels and the like (but not computers). Skill in computers is important, and a failed use may damage your circuits.",
|
||||
"occupied_bodyparts": [ [ "hand_l", 1 ] ],
|
||||
"toggled_pseudo_items": [ "electrohack" ],
|
||||
"flags": [ "BIONIC_TOGGLED", "USES_BIONIC_POWER" ]
|
||||
"occupied_bodyparts": [ [ "hand_r", 2 ] ],
|
||||
"fake_item": "electrohack",
|
||||
"flags": [ "BIONIC_TOGGLED" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_flashbang",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Flashbang Generator" },
|
||||
"description": "Light emitting diodes surgically integrated into your skin can release a flash comparable to a flashbang grenade, blinding nearby enemies. Speakers integrated into your body mimic the loud sound, deafening those nearby.",
|
||||
"occupied_bodyparts": [ [ "torso", 18 ], [ "arm_l", 2 ], [ "arm_r", 2 ], [ "leg_l", 3 ], [ "leg_r", 3 ] ],
|
||||
"occupied_bodyparts": [ [ "torso", 20 ], [ "arm_l", 2 ], [ "arm_r", 2 ], [ "leg_l", 3 ], [ "leg_r", 3 ] ],
|
||||
"act_cost": "10 kJ"
|
||||
},
|
||||
{
|
||||
@@ -876,12 +782,11 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Cranial Flashlight" },
|
||||
"description": "Surgically mounted between your eyes is a small but powerful LED flashlight.",
|
||||
"occupied_bodyparts": [ [ "head", 1 ] ],
|
||||
"occupied_bodyparts": [ [ "eyes", 1 ] ],
|
||||
"act_cost": "3 J",
|
||||
"react_cost": "3 J",
|
||||
"time": 1,
|
||||
"flags": [ "BIONIC_TOGGLED" ],
|
||||
"enchantments": [ { "condition": "ACTIVE", "values": [ { "value": "LUMINATION", "add": 60 } ] } ]
|
||||
"flags": [ "BIONIC_TOGGLED" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_tattoo_led",
|
||||
@@ -891,16 +796,14 @@
|
||||
"act_cost": "1 J",
|
||||
"react_cost": "1 J",
|
||||
"time": 1,
|
||||
"flags": [ "BIONIC_TOGGLED" ],
|
||||
"enchantments": [ { "condition": "ACTIVE", "values": [ { "value": "LUMINATION", "add": 5 } ] } ]
|
||||
"flags": [ "BIONIC_TOGGLED" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_glowy",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Glowy Thing" },
|
||||
"description": "You don't think that capacitor is *meant* to glow, but it does, and usually at bad times. A malfunctioning bionic randomly turns on and off, causing you to glow and making you visible in the dark without improving how much you can see in the slightest.",
|
||||
"flags": [ "BIONIC_FAULTY" ],
|
||||
"trigger_cost": "1 kJ"
|
||||
"flags": [ "BIONIC_FAULTY" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_geiger",
|
||||
@@ -916,8 +819,7 @@
|
||||
"name": { "str": "Respirator" },
|
||||
"description": "A complex respiration augmentation system. Improves respiration ability in air and allows breathing water. Will automatically turn on when drowning. Turn on to recharge stamina faster, at moderate power cost. Asthmatics may also use it to stop asthma attacks.",
|
||||
"occupied_bodyparts": [ [ "torso", 8 ], [ "head", 2 ], [ "mouth", 2 ] ],
|
||||
"flags": [ "BIONIC_TOGGLED" ],
|
||||
"trigger_cost": "25 kJ"
|
||||
"flags": [ "BIONIC_TOGGLED" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_ground_sonar",
|
||||
@@ -936,7 +838,7 @@
|
||||
"name": { "str": "Heat Drain" },
|
||||
"description": "While fighting unarmed against a warm-blooded opponent, there is a chance that a successful hit will drain body heat, inflicting a small amount of extra damage, and increasing your power reserves slightly.",
|
||||
"occupied_bodyparts": [
|
||||
[ "torso", 6 ],
|
||||
[ "torso", 12 ],
|
||||
[ "head", 3 ],
|
||||
[ "arm_l", 3 ],
|
||||
[ "arm_r", 3 ],
|
||||
@@ -947,8 +849,7 @@
|
||||
[ "foot_l", 2 ],
|
||||
[ "foot_r", 2 ]
|
||||
],
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
|
||||
"trigger_cost": "3 kJ"
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_heatsink",
|
||||
@@ -978,7 +879,7 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Hydraulic Muscles" },
|
||||
"description": "While activated, your muscles will be greatly enhanced, increasing your strength by 20.",
|
||||
"occupied_bodyparts": [ [ "torso", 10 ], [ "arm_l", 8 ], [ "arm_r", 8 ], [ "leg_l", 10 ], [ "leg_r", 10 ] ],
|
||||
"occupied_bodyparts": [ [ "torso", 4 ], [ "arm_l", 8 ], [ "arm_r", 8 ], [ "leg_l", 14 ], [ "leg_r", 14 ] ],
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
|
||||
"act_cost": "10 kJ",
|
||||
"react_cost": "10 kJ",
|
||||
@@ -1001,7 +902,7 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Cerebral Booster" },
|
||||
"description": "Your brain has been enhanced with bionic coprocessors, giving you a +2 bonus to intelligence.",
|
||||
"occupied_bodyparts": [ [ "head", 6 ] ],
|
||||
"occupied_bodyparts": [ [ "head", 7 ] ],
|
||||
"stat_bonus": [ [ "INT", 2 ] ],
|
||||
"flags": [ "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
@@ -1010,7 +911,7 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Itchy Metal Thing" },
|
||||
"description": "A bionic of some sort, so badly installed that you cannot even tell what it was originally supposed to be. Sometimes it itches horribly.",
|
||||
"occupied_bodyparts": [ [ "torso", 3 ], [ "head", 2 ] ],
|
||||
"occupied_bodyparts": [ [ "torso", 3 ], [ "head", 2 ], [ "hand_l", 1 ], [ "hand_r", 1 ] ],
|
||||
"flags": [ "BIONIC_FAULTY" ]
|
||||
},
|
||||
{
|
||||
@@ -1020,7 +921,7 @@
|
||||
"description": "One of your fingers has a small high-powered laser surgically embedded in it. This long range weapon is not incredibly damaging, but is very accurate, and has the potential to start fires.",
|
||||
"occupied_bodyparts": [ [ "hand_r", 1 ] ],
|
||||
"act_cost": "30 kJ",
|
||||
"fake_weapon": "bio_laser_gun",
|
||||
"fake_item": "bio_laser_gun",
|
||||
"flags": [ "BIONIC_GUN", "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
{
|
||||
@@ -1040,43 +941,32 @@
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_SLEEP_FRIENDLY", "BIONIC_NPC_USABLE" ],
|
||||
"act_cost": "5 J",
|
||||
"react_cost": "5 J",
|
||||
"time": 1,
|
||||
"enchantments": [
|
||||
{
|
||||
"condition": "ACTIVE",
|
||||
"values": [
|
||||
{ "value": "EFFECTIVE_HEALTH_MOD", "add": 100 },
|
||||
{ "value": "MOD_HEALTH", "add": -50 },
|
||||
{ "value": "MOD_HEALTH_CAP", "add": -200 }
|
||||
]
|
||||
}
|
||||
]
|
||||
"time": 1
|
||||
},
|
||||
{
|
||||
"id": "bio_lighter",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Finger Lighter" },
|
||||
"description": "The index finger of your left hand has a fire starter that can extend from the tip.",
|
||||
"occupied_bodyparts": [ [ "hand_l", 1 ] ],
|
||||
"flags": [ "USES_BIONIC_POWER" ],
|
||||
"passive_pseudo_items": [ "crude_firestarter" ],
|
||||
"act_cost": "1500 J"
|
||||
"description": "The index fingers of both hands have powerful fire starters which extend from the tip.",
|
||||
"occupied_bodyparts": [ [ "hand_l", 1 ], [ "hand_r", 1 ] ],
|
||||
"fake_item": "fake_firestarter",
|
||||
"act_cost": "5 kJ"
|
||||
},
|
||||
{
|
||||
"id": "bio_lockpick",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Fingerpick" },
|
||||
"description": "One of your fingers has an electronic lockpick surgically embedded in it. This automatic system will quickly unlock all but the most advanced key locks without any skill required on the part of the user.",
|
||||
"occupied_bodyparts": [ [ "hand_l", 2 ] ],
|
||||
"occupied_bodyparts": [ [ "hand_r", 2 ] ],
|
||||
"act_cost": "50 J"
|
||||
},
|
||||
{
|
||||
"id": "bio_magnet",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Electromagnetic Unit" },
|
||||
"description": "Surgically embedded in your left arm is a powerful electromagnet, allowing you to use your own strength to pull all nearby magnetic objects towards you. Unlucky bystanders might be injured or killed by flying objects.",
|
||||
"occupied_bodyparts": [ [ "arm_l", 9 ] ],
|
||||
"act_cost": "15 kJ"
|
||||
"description": "Surgically embedded in your right hand is a powerful electromagnet, allowing you to use your own strength to pull all nearby magnetic objects towards you. Unlucky bystanders might be injured or killed by flying objects.",
|
||||
"occupied_bodyparts": [ [ "hand_r", 3 ] ],
|
||||
"act_cost": "10 kJ"
|
||||
},
|
||||
{
|
||||
"id": "bio_membrane",
|
||||
@@ -1093,29 +983,16 @@
|
||||
"description": "Your memory has been enhanced with small quantum storage drives. While active, you learn - both through reading and practice - more quickly. Additionally, you can't forget skills you've already learned, and the layout of terrain you've explored will remain in your memory for an incredibly long time.",
|
||||
"occupied_bodyparts": [ [ "head", 3 ] ],
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_SLEEP_FRIENDLY" ],
|
||||
"active_flags": [ "CBQ_LEARN_BONUS" ],
|
||||
"act_cost": "2 J",
|
||||
"react_cost": "2 J",
|
||||
"trigger_cost": "25 J",
|
||||
"time": 1,
|
||||
"enchantments": [
|
||||
{
|
||||
"condition": "ACTIVE",
|
||||
"values": [
|
||||
{ "value": "MAP_MEMORY", "add": 49 },
|
||||
{ "value": "READING_EXP", "add": 2 },
|
||||
{ "value": "SKILL_RUST_RESIST", "add": 20 },
|
||||
{ "value": "LEARNING_FOCUS", "add": 10 }
|
||||
]
|
||||
}
|
||||
]
|
||||
"time": 1
|
||||
},
|
||||
{
|
||||
"id": "bio_metabolics",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Metabolic Interchange" },
|
||||
"description": "Your digestive system and power supply are interconnected; bionic energy is replenished by burning calories. Can be toggled on and off at will.",
|
||||
"occupied_bodyparts": [ [ "torso", 20 ] ],
|
||||
"occupied_bodyparts": [ [ "torso", 25 ] ],
|
||||
"fuel_options": [ "metabolism" ],
|
||||
"fuel_efficiency": 0.25,
|
||||
"time": 1,
|
||||
@@ -1127,15 +1004,14 @@
|
||||
"name": { "str": "Weather Reader" },
|
||||
"description": "A multitude of scientific instruments and sensors collect environmental data. The data is compiled and presented as a simple readout of the current weather. It also passively tells you the local air temperature.",
|
||||
"occupied_bodyparts": [ [ "torso", 1 ], [ "head", 1 ] ],
|
||||
"act_cost": "10 J",
|
||||
"flags": [ "THERMOMETER" ]
|
||||
"act_cost": "10 J"
|
||||
},
|
||||
{
|
||||
"id": "bio_nanobots",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Repair Nanobots" },
|
||||
"description": "Inside your body is a fleet of tiny dormant robots. While activated they will flit about your body, repairing damage at 1 HP per minute and stopping bleeding at the cost of extra power and stored calories. No power is consumed if there is nothing to heal.",
|
||||
"occupied_bodyparts": [ [ "torso", 12 ] ],
|
||||
"occupied_bodyparts": [ [ "torso", 10 ] ],
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
|
||||
"act_cost": "80 J",
|
||||
"react_cost": "40 J",
|
||||
@@ -1197,7 +1073,6 @@
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
|
||||
"act_cost": "10 kJ",
|
||||
"react_cost": "10 kJ",
|
||||
"trigger_cost": "1 kJ",
|
||||
"time": 1
|
||||
},
|
||||
{
|
||||
@@ -1206,8 +1081,7 @@
|
||||
"name": { "str": "Sensory Dulling" },
|
||||
"description": "Your nervous system is wired to allow you to inhibit the signals of pain, allowing you to dull your senses at will. However, the use of this system may cause delayed reaction time and drowsiness.",
|
||||
"occupied_bodyparts": [ [ "head", 2 ] ],
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
|
||||
"trigger_cost": "2 kJ"
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_pokedeye",
|
||||
@@ -1243,7 +1117,6 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Power Storage" },
|
||||
"capacity": "100 kJ",
|
||||
"dupes_allowed": true,
|
||||
"description": "A Compact Bionics Module that increases your power capacity by 100 kJ. Having at least one of these is a prerequisite to using powered bionics. You will also need a power supply, found in various CBMs.",
|
||||
"flags": [ "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
@@ -1252,7 +1125,6 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Power Storage Mk. II" },
|
||||
"capacity": "250 kJ",
|
||||
"dupes_allowed": true,
|
||||
"description": "A Compact Bionics Module that increases your power capacity by 250 kJ.",
|
||||
"flags": [ "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
@@ -1273,16 +1145,15 @@
|
||||
"flags": [ "BIONIC_TOGGLED" ],
|
||||
"act_cost": "3 J",
|
||||
"react_cost": "3 J",
|
||||
"trigger_cost": "250 kJ",
|
||||
"time": 1
|
||||
},
|
||||
{
|
||||
"id": "bio_purifier",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Air Filtration System" },
|
||||
"description": "Surgically implanted in your trachea is an advanced filtration system. If toxins or airborne diseases find their way into your windpipe, the filter will attempt to remove them.",
|
||||
"occupied_bodyparts": [ [ "torso", 5 ], [ "mouth", 1 ] ],
|
||||
"env_protec": [ [ "mouth", 9 ] ],
|
||||
"description": "Surgically implanted in your trachea is an advanced filtration system. If toxins, or airborne diseases find their way into your windpipe, the filter will attempt to remove them.",
|
||||
"occupied_bodyparts": [ [ "torso", 4 ], [ "mouth", 2 ] ],
|
||||
"env_protec": [ [ "mouth", 7 ] ],
|
||||
"flags": [ "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
{
|
||||
@@ -1310,8 +1181,8 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Fingertip Razors" },
|
||||
"description": "You possess razor-sharp claws underneath your fingernails that do a small amount of unarmed slashing damage whenever your fingertips are uncovered.",
|
||||
"occupied_bodyparts": [ [ "hand_l", 1 ], [ "hand_r", 1 ] ],
|
||||
"passive_pseudo_items": [ "fake_razor" ],
|
||||
"occupied_bodyparts": [ [ "hand_l", 2 ], [ "hand_r", 2 ] ],
|
||||
"fake_item": "fake_razor",
|
||||
"flags": [ "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
{
|
||||
@@ -1368,8 +1239,7 @@
|
||||
"name": { "str": "Bionic Short Circuit" },
|
||||
"description": "A poorly-wired bionic which fails to serve its intended purpose, this malfunctioning device periodically short-circuits, causing systemic muscle tremors.",
|
||||
"occupied_bodyparts": [ [ "torso", 1 ], [ "arm_l", 2 ], [ "arm_r", 2 ], [ "leg_l", 3 ], [ "leg_r", 3 ] ],
|
||||
"flags": [ "BIONIC_FAULTY" ],
|
||||
"trigger_cost": "25 kJ"
|
||||
"flags": [ "BIONIC_FAULTY" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_synaptic_regen",
|
||||
@@ -1389,8 +1259,7 @@
|
||||
"name": { "str": "Electroshock Unit" },
|
||||
"description": "While fighting unarmed, or with a weapon that conducts electricity, there is a chance that a successful hit will shock your opponent, inflicting extra damage and disabling them temporarily at the cost of some energy.",
|
||||
"occupied_bodyparts": [ [ "torso", 8 ], [ "arm_l", 3 ], [ "arm_r", 3 ], [ "hand_l", 1 ], [ "hand_r", 1 ] ],
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
|
||||
"trigger_cost": "2 kJ"
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_shockwave",
|
||||
@@ -1422,7 +1291,7 @@
|
||||
"name": { "str": "Synaptic Accelerator" },
|
||||
"description": "Your nervous system has been enhanced with bionic stimulators, giving you a 10% boost to your speed.",
|
||||
"occupied_bodyparts": [
|
||||
[ "torso", 8 ],
|
||||
[ "torso", 12 ],
|
||||
[ "arm_l", 3 ],
|
||||
[ "arm_r", 3 ],
|
||||
[ "hand_l", 1 ],
|
||||
@@ -1432,7 +1301,6 @@
|
||||
[ "foot_l", 2 ],
|
||||
[ "foot_r", 2 ]
|
||||
],
|
||||
"enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "SPEED", "multiply": 0.1 } ] } ],
|
||||
"flags": [ "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
{
|
||||
@@ -1465,9 +1333,9 @@
|
||||
"id": "bio_surgical_razor",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Autonomous Surgical Scalpels" },
|
||||
"description": "A system of surgical grade scalpels is implanted in your forearms, extending from just above your wrists. They allow you to make automated precise cuts and can also be used as a high-quality butchering tool.",
|
||||
"occupied_bodyparts": [ [ "arm_r", 2 ], [ "arm_l", 2 ] ],
|
||||
"fake_weapon": "bio_scalpel",
|
||||
"description": "A system of surgical grade scalpels is implanted on your fingers. They allow you to make automated precise cuts and can also be used as a high-quality butchering tool.",
|
||||
"occupied_bodyparts": [ [ "arm_r", 1 ], [ "arm_l", 1 ] ],
|
||||
"fake_item": "bio_scalpel",
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_WEAPON" ]
|
||||
},
|
||||
{
|
||||
@@ -1478,7 +1346,7 @@
|
||||
"occupied_bodyparts": [ [ "eyes", 1 ] ],
|
||||
"included_bionics": [ "bio_blindfold" ],
|
||||
"flags": [ "BIONIC_NPC_USABLE", "GLARE_RESIST" ],
|
||||
"passive_pseudo_items": [ "fake_goggles" ]
|
||||
"fake_item": "fake_goggles"
|
||||
},
|
||||
{
|
||||
"id": "bio_targeting",
|
||||
@@ -1486,8 +1354,7 @@
|
||||
"name": { "str": "Targeting System" },
|
||||
"description": "Your eyes are surgically equipped with range finders, and their movement is synced with that of your arms, to a degree. Shots you fire will be much more accurate, particularly at long range.",
|
||||
"occupied_bodyparts": [ [ "eyes", 1 ], [ "arm_l", 3 ], [ "arm_r", 3 ], [ "hand_l", 1 ], [ "hand_r", 1 ] ],
|
||||
"flags": [ "BIONIC_NPC_USABLE" ],
|
||||
"enchantments": [ { "condition": "ALWAYS", "values": [ { "value": "WEAPON_DISPERSION", "multiply": -0.25 } ] } ]
|
||||
"flags": [ "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_teleport",
|
||||
@@ -1529,20 +1396,20 @@
|
||||
"id": "bio_tools",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Integrated Toolset" },
|
||||
"description": "Surgically implanted in your hands and forearms is a set of tools - screwdriver, hammer, wrench, hacksaw, drill, heating elements, and others. You can use this in place of many tools when crafting.",
|
||||
"occupied_bodyparts": [ [ "hand_l", 1 ], [ "hand_r", 1 ], [ "arm_l", 3 ], [ "arm_r", 3 ] ],
|
||||
"toggled_pseudo_items": [ "toolset" ],
|
||||
"description": "Surgically implanted in your hands and fingers is a set of tools - screwdriver, hammer, wrench, hacksaw, drill, welder, and heating elements. You can use this in place of many tools when crafting.",
|
||||
"occupied_bodyparts": [ [ "hand_l", 3 ], [ "hand_r", 3 ] ],
|
||||
"fake_item": "toolset",
|
||||
"included_bionics": [ "bio_tools_extend" ],
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE", "USES_BIONIC_POWER" ]
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_tools_extend",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Extended Toolset" },
|
||||
"description": "Extend or withdraw your integrated toolset to cut metal, pry things, or other stuff. This takes up your hands.",
|
||||
"fake_weapon": "toolset_extended",
|
||||
"fake_item": "toolset_extended",
|
||||
"included": true,
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_WEAPON", "USES_BIONIC_POWER" ]
|
||||
"flags": [ "BIONIC_TOGGLED", "BIONIC_WEAPON" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_torsionratchet",
|
||||
@@ -1559,15 +1426,10 @@
|
||||
"id": "bio_jointservo",
|
||||
"type": "bionic",
|
||||
"name": { "str": "Joint Servo" },
|
||||
"description": "Your leg joints have been equipped with servomotors that provide power-assisted movement. Movement takes less effort when this bionic is online. However, when it's offline it will hamper your movement, as you struggle against its moving parts.",
|
||||
"description": "Your leg joints have been equipped with servomotors that provide power-assisted movement. They are optimized for running, but walking also requires less effort when this bionic is online. However, when it's offline it will hamper your movement, as you struggle against its moving parts.",
|
||||
"occupied_bodyparts": [ [ "leg_l", 12 ], [ "leg_r", 12 ] ],
|
||||
"flags": [ "BIONIC_TOGGLED" ],
|
||||
"mutation_conflicts": [ "LEG_TENTACLES", "LEG_TENT_BRACE", "GASTROPOD_FOOT", "GASTROPOD_BALANCE" ],
|
||||
"enchantments": [
|
||||
{ "condition": "ACTIVE", "values": [ { "value": "MOVE_COST", "multiply": -0.1 } ] },
|
||||
{ "condition": "INACTIVE", "values": [ { "value": "MOVE_COST", "multiply": 0.1 } ] }
|
||||
],
|
||||
"trigger_cost": "35 J"
|
||||
"mutation_conflicts": [ "LEG_TENTACLES", "LEG_TENT_BRACE" ]
|
||||
},
|
||||
{
|
||||
"id": "bio_trip",
|
||||
@@ -1586,7 +1448,6 @@
|
||||
"flags": [ "BIONIC_TOGGLED" ],
|
||||
"act_cost": "6 J",
|
||||
"react_cost": "6 J",
|
||||
"trigger_cost": "75 kJ",
|
||||
"time": 1
|
||||
},
|
||||
{
|
||||
@@ -1620,7 +1481,7 @@
|
||||
"type": "bionic",
|
||||
"name": { "str": "Water Extraction Unit" },
|
||||
"description": "Nanotubes surgically embedded in the palm of your hand will pump any available fluid out of a dead body, cleanse it of impurities and convert it into drinkable water. You must, however, have a container to store the water in.",
|
||||
"occupied_bodyparts": [ [ "arm_l", 3 ], [ "hand_l", 1 ] ],
|
||||
"occupied_bodyparts": [ [ "arm_r", 1 ], [ "hand_r", 2 ] ],
|
||||
"act_cost": "20 kJ"
|
||||
},
|
||||
{
|
||||
@@ -1643,7 +1504,7 @@
|
||||
"name": { "str": "Intravenous Needletip" },
|
||||
"description": "The flesh of the inside of your middle finger has been replaced with a tube leading into your arteries, with a retractable needle extending out of the tip of the finger when clenched. This lets you pump intravenous drugs like morphine directly into your bloodstream without needing to carry a syringe.",
|
||||
"occupied_bodyparts": [ [ "hand_l", 1 ] ],
|
||||
"passive_pseudo_items": [ "syringe" ]
|
||||
"fake_item": "syringe"
|
||||
},
|
||||
{
|
||||
"id": "bio_weight",
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
"main_part": "torso",
|
||||
"connected_to": "head",
|
||||
"opposite_part": "torso",
|
||||
"limb_type": "torso",
|
||||
"is_vital": true,
|
||||
"hit_size": 45,
|
||||
"hit_size_relative": [ 20, 33.33, 36.57 ],
|
||||
"hit_difficulty": 1,
|
||||
@@ -40,8 +38,6 @@
|
||||
"main_part": "head",
|
||||
"connected_to": "head",
|
||||
"opposite_part": "head",
|
||||
"limb_type": "head",
|
||||
"is_vital": true,
|
||||
"hit_size": 6,
|
||||
"hit_size_relative": [ 0, 2.33, 5.71 ],
|
||||
"hit_difficulty": 1.35,
|
||||
@@ -71,8 +67,6 @@
|
||||
"hit_size": 1,
|
||||
"hit_size_relative": [ 0, 0.33, 0.57 ],
|
||||
"hit_difficulty": 1.15,
|
||||
"limb_type": "sensor",
|
||||
"vision_score": 1.0,
|
||||
"side": "both",
|
||||
"legacy_id": "EYES",
|
||||
"stylish_bonus": 2,
|
||||
@@ -97,10 +91,6 @@
|
||||
"hit_size": 1,
|
||||
"hit_size_relative": [ 0, 0, 0 ],
|
||||
"hit_difficulty": 1.15,
|
||||
"limb_type": "mouth",
|
||||
"breathing_score": 1.0,
|
||||
"manipulator_score": 0.05,
|
||||
"manipulator_max": 0.2,
|
||||
"side": "both",
|
||||
"legacy_id": "MOUTH",
|
||||
"stylish_bonus": 2,
|
||||
@@ -131,12 +121,6 @@
|
||||
"hit_size": 9,
|
||||
"hit_size_relative": [ 15, 20, 22.86 ],
|
||||
"hit_difficulty": 0.95,
|
||||
"limb_type": "arm",
|
||||
"manipulator_score": 0.1,
|
||||
"manipulator_max": 0.2,
|
||||
"lifting_score": 0.5,
|
||||
"blocking_score": 1,
|
||||
"swim_score": 0.1,
|
||||
"side": "left",
|
||||
"legacy_id": "ARM_L",
|
||||
"hot_morale_mod": 0.5,
|
||||
@@ -166,12 +150,6 @@
|
||||
"hit_size": 9,
|
||||
"hit_size_relative": [ 15, 20, 22.86 ],
|
||||
"hit_difficulty": 0.95,
|
||||
"limb_type": "arm",
|
||||
"manipulator_score": 0.1,
|
||||
"manipulator_max": 0.2,
|
||||
"lifting_score": 0.5,
|
||||
"blocking_score": 1,
|
||||
"swim_score": 0.1,
|
||||
"side": "right",
|
||||
"legacy_id": "ARM_R",
|
||||
"hot_morale_mod": 0.5,
|
||||
@@ -199,10 +177,6 @@
|
||||
"hit_size": 3,
|
||||
"hit_size_relative": [ 0, 0, 0 ],
|
||||
"hit_difficulty": 1.1,
|
||||
"limb_type": "hand",
|
||||
"manipulator_score": 0.5,
|
||||
"manipulator_max": 1,
|
||||
"swim_score": 0.15,
|
||||
"side": "left",
|
||||
"legacy_id": "HAND_L",
|
||||
"stylish_bonus": 0.5,
|
||||
@@ -230,10 +204,6 @@
|
||||
"hit_size": 3,
|
||||
"hit_size_relative": [ 0, 0, 0 ],
|
||||
"hit_difficulty": 1.1,
|
||||
"limb_type": "hand",
|
||||
"manipulator_score": 0.5,
|
||||
"manipulator_max": 1,
|
||||
"swim_score": 0.15,
|
||||
"side": "right",
|
||||
"legacy_id": "HAND_R",
|
||||
"stylish_bonus": 0.5,
|
||||
@@ -263,11 +233,6 @@
|
||||
"hit_size": 9,
|
||||
"hit_size_relative": [ 25, 12, 5.71 ],
|
||||
"hit_difficulty": 0.975,
|
||||
"limb_type": "leg",
|
||||
"manipulator_score": 0.1,
|
||||
"manipulator_max": 0.2,
|
||||
"movement_speed_score": 0.5,
|
||||
"swim_score": 0.15,
|
||||
"side": "left",
|
||||
"legacy_id": "LEG_L",
|
||||
"stylish_bonus": 1,
|
||||
@@ -298,11 +263,6 @@
|
||||
"hit_size": 9,
|
||||
"hit_size_relative": [ 25, 12, 5.71 ],
|
||||
"hit_difficulty": 0.975,
|
||||
"limb_type": "leg",
|
||||
"manipulator_score": 0.1,
|
||||
"manipulator_max": 0.2,
|
||||
"movement_speed_score": 0.5,
|
||||
"swim_score": 0.15,
|
||||
"side": "right",
|
||||
"legacy_id": "LEG_R",
|
||||
"stylish_bonus": 1,
|
||||
@@ -331,11 +291,6 @@
|
||||
"hit_size": 3,
|
||||
"hit_size_relative": [ 0, 0, 0 ],
|
||||
"hit_difficulty": 0.8,
|
||||
"limb_type": "foot",
|
||||
"manipulator_score": 0.1,
|
||||
"manipulator_max": 0.2,
|
||||
"balance_score": 0.5,
|
||||
"swim_score": 0.1,
|
||||
"side": "left",
|
||||
"legacy_id": "FOOT_L",
|
||||
"stylish_bonus": 0.5,
|
||||
@@ -363,11 +318,6 @@
|
||||
"hit_size": 3,
|
||||
"hit_size_relative": [ 0, 0, 0 ],
|
||||
"hit_difficulty": 0.8,
|
||||
"limb_type": "foot",
|
||||
"manipulator_score": 0.1,
|
||||
"manipulator_max": 0.2,
|
||||
"balance_score": 0.5,
|
||||
"swim_score": 0.1,
|
||||
"side": "right",
|
||||
"legacy_id": "FOOT_R",
|
||||
"stylish_bonus": 0.5,
|
||||
@@ -379,30 +329,5 @@
|
||||
"drench_capacity": 3,
|
||||
"smash_message": "You kick down the %s, smashing it.",
|
||||
"bionic_slots": 7
|
||||
},
|
||||
{
|
||||
"id": "debug_tail",
|
||||
"type": "body_part",
|
||||
"name": "debug tail",
|
||||
"name_multiple": "debug tails",
|
||||
"heading": "DBG Tail",
|
||||
"heading_multiple": "Tails",
|
||||
"encumbrance_text": "Your debug tail feels heavy",
|
||||
"hit_size": 1,
|
||||
"hit_size_relative": [ 0, 0, 0 ],
|
||||
"drench_capacity": 4,
|
||||
"main_part": "debug_tail",
|
||||
"hit_difficulty": 0.8,
|
||||
"limb_type": "tail",
|
||||
"manipulator_score": 0.5,
|
||||
"manipulator_max": 1,
|
||||
"balance_score": 1,
|
||||
"swim_score": 0.15,
|
||||
"opposite_part": "debug_tail",
|
||||
"side": "both",
|
||||
"connected_to": "torso",
|
||||
"accusative": { "ctxt": "bodypart_accusative", "str": "debug tail" },
|
||||
"hp_bar_ui_text": "DBG TAIL",
|
||||
"base_hp": 20
|
||||
}
|
||||
]
|
||||
|
||||
+31
-54
@@ -44,7 +44,7 @@
|
||||
"category": "DIG",
|
||||
"required_skills": [ [ "survival", 1 ] ],
|
||||
"time": "5 m",
|
||||
"components": [ [ [ "spear_wood", 4 ], [ "pointy_stick", 4 ], [ "pointy_stick_long", 4 ] ] ],
|
||||
"components": [ [ [ "spear_wood", 4 ], [ "pointy_stick", 4 ] ] ],
|
||||
"pre_terrain": "t_pit",
|
||||
"post_terrain": "t_pit_spiked"
|
||||
},
|
||||
@@ -651,7 +651,7 @@
|
||||
"required_skills": [ [ "fabrication", 5 ] ],
|
||||
"time": "60 m",
|
||||
"tools": [ [ [ "oxy_torch", 4 ], [ "welder", 20 ], [ "welder_crude", 30 ], [ "toolset", 30 ] ] ],
|
||||
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "GLARE", "level": 1 } ] ],
|
||||
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "GLARE", "level": 2 } ] ],
|
||||
"components": [ [ [ "pipe", 6 ] ], [ [ "sheet_metal", 2 ] ] ],
|
||||
"pre_terrain": "t_floor",
|
||||
"post_terrain": "t_bars"
|
||||
@@ -957,7 +957,7 @@
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "90 m",
|
||||
"qualities": [ { "id": "GLARE", "level": 1 } ],
|
||||
"qualities": [ { "id": "GLARE", "level": 2 } ],
|
||||
"tools": [ [ [ "oxy_torch", 10 ], [ "welder", 50 ], [ "welder_crude", 75 ], [ "toolset", 75 ] ] ],
|
||||
"components": [ [ [ "steel_plate", 2 ] ] ],
|
||||
"pre_terrain": "t_pit_shallow",
|
||||
@@ -971,7 +971,7 @@
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "90 m",
|
||||
"qualities": [ { "id": "GLARE", "level": 1 } ],
|
||||
"qualities": [ { "id": "GLARE", "level": 2 } ],
|
||||
"tools": [ [ [ "oxy_torch", 10 ], [ "welder", 50 ], [ "welder_crude", 75 ], [ "toolset", 75 ] ] ],
|
||||
"components": [ [ [ "steel_plate", 2 ] ] ],
|
||||
"pre_terrain": "t_scrap_wall_halfway",
|
||||
@@ -1127,7 +1127,7 @@
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "welding_standard", 2 ] ],
|
||||
"qualities": [ [ { "id": "WELD", "level": 2 } ], [ { "id": "GLARE", "level": 2 } ] ],
|
||||
"components": [ [ [ "rebar", 16 ] ] ],
|
||||
"pre_terrain": "t_pit",
|
||||
"post_terrain": "t_reb_cage"
|
||||
@@ -1168,7 +1168,7 @@
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "welding_standard", 2 ] ],
|
||||
"qualities": [ [ { "id": "WELD", "level": 2 } ], [ { "id": "GLARE", "level": 2 } ] ],
|
||||
"components": [ [ [ "rebar", 16 ] ] ],
|
||||
"pre_terrain": "t_pit",
|
||||
"post_terrain": "t_reb_cage"
|
||||
@@ -1208,7 +1208,7 @@
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 5 ] ],
|
||||
"time": "90 m",
|
||||
"qualities": [ { "id": "GLARE", "level": 1 } ],
|
||||
"qualities": [ { "id": "GLARE", "level": 2 } ],
|
||||
"tools": [ [ [ "oxy_torch", 10 ], [ "welder", 50 ], [ "welder_crude", 75 ], [ "toolset", 75 ] ] ],
|
||||
"components": [ [ [ "steel_plate", 2 ] ] ],
|
||||
"pre_note": "Must be supported on at least two sides.",
|
||||
@@ -1223,7 +1223,7 @@
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 5 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "welding_standard", 2 ] ],
|
||||
"qualities": [ [ { "id": "WELD", "level": 2 } ], [ { "id": "GLARE", "level": 2 } ] ],
|
||||
"components": [ [ [ "rebar", 8 ] ], [ [ "2x4", 12 ] ], [ [ "pipe", 4 ] ] ],
|
||||
"pre_terrain": "t_pit_shallow",
|
||||
"post_terrain": "t_ov_smreb_cage"
|
||||
@@ -1250,7 +1250,7 @@
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "180 m",
|
||||
"using": [ [ "welding_standard", 2 ] ],
|
||||
"qualities": [ [ { "id": "WELD", "level": 2 } ], [ { "id": "GLARE", "level": 2 } ] ],
|
||||
"components": [ [ [ "rebar", 12 ] ], [ [ "2x4", 12 ] ], [ [ "pipe", 4 ] ] ],
|
||||
"pre_terrain": "t_pit",
|
||||
"post_terrain": "t_ov_reb_cage"
|
||||
@@ -1459,7 +1459,7 @@
|
||||
"required_skills": [ [ "fabrication", 0 ], [ "survival", 0 ] ],
|
||||
"time": "15 m",
|
||||
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "DIG", "level": 2 } ] ],
|
||||
"components": [ [ [ "pointy_stick", 2 ], [ "spear_wood", 2 ], [ "pointy_stick_long", 2 ] ] ],
|
||||
"components": [ [ [ "pointy_stick", 2 ], [ "spear_wood", 2 ] ] ],
|
||||
"pre_flags": "DIGGABLE",
|
||||
"post_terrain": "t_fence_post"
|
||||
},
|
||||
@@ -1483,12 +1483,7 @@
|
||||
"required_skills": [ [ "fabrication", 2 ], [ "survival", 1 ] ],
|
||||
"time": "30 m",
|
||||
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "DIG", "level": 2 } ] ],
|
||||
"components": [
|
||||
[ [ "pointy_stick", 2 ], [ "spear_wood", 2 ], [ "pointy_stick_long", 2 ] ],
|
||||
[ [ "2x4", 5 ] ],
|
||||
[ [ "nail", 12 ] ],
|
||||
[ [ "hinge", 2 ] ]
|
||||
],
|
||||
"components": [ [ [ "pointy_stick", 2 ], [ "spear_wood", 2 ] ], [ [ "2x4", 5 ] ], [ [ "nail", 12 ] ], [ [ "hinge", 2 ] ] ],
|
||||
"pre_flags": "DIGGABLE",
|
||||
"post_terrain": "t_fencegate_c"
|
||||
},
|
||||
@@ -1534,7 +1529,7 @@
|
||||
"required_skills": [ [ "fabrication", 3 ] ],
|
||||
"time": "30 m",
|
||||
"qualities": [ [ { "id": "HAMMER", "level": 2 } ] ],
|
||||
"components": [ [ [ "pipe", 6 ] ], [ [ "pipe_fittings", 3 ] ], [ [ "scrap", 8 ] ] ],
|
||||
"components": [ [ [ "pipe", 6 ] ], [ [ "scrap", 8 ] ] ],
|
||||
"pre_flags": "DIGGABLE",
|
||||
"post_terrain": "t_chainfence_posts"
|
||||
},
|
||||
@@ -2115,8 +2110,12 @@
|
||||
"category": "FURN",
|
||||
"required_skills": [ [ "fabrication", 2 ], [ "cooking", 1 ] ],
|
||||
"time": "180 m",
|
||||
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_M", "level": 1 } ] ],
|
||||
"using": [ [ "welding_standard", 2 ] ],
|
||||
"qualities": [
|
||||
[ { "id": "HAMMER", "level": 2 } ],
|
||||
[ { "id": "SAW_M", "level": 1 } ],
|
||||
[ { "id": "WELD", "level": 2 } ],
|
||||
[ { "id": "GLARE", "level": 2 } ]
|
||||
],
|
||||
"components": [ [ [ "metal_tank", 4 ] ], [ [ "water_faucet", 1 ] ] ],
|
||||
"pre_special": "check_empty",
|
||||
"post_terrain": "f_standing_tank"
|
||||
@@ -2240,18 +2239,6 @@
|
||||
"pre_special": "check_empty",
|
||||
"post_terrain": "f_dumpster"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_metal_trashcan",
|
||||
"group": "build_metal_trashcan",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 2 ] ],
|
||||
"time": "30 m",
|
||||
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "SAW_M", "level": 2 } ] ],
|
||||
"components": [ [ [ "sheet_metal", 2 ] ] ],
|
||||
"pre_special": "check_empty",
|
||||
"post_terrain": "f_metal_trashcan"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_mailbox",
|
||||
@@ -3440,7 +3427,7 @@
|
||||
"time": "15 m",
|
||||
"pre_special": "check_empty",
|
||||
"components": [
|
||||
[ [ "pillow", 19 ], [ "down_pillow", 19 ], [ "makeshift_pillow", 19 ], [ "mattress", 4 ] ],
|
||||
[ [ "pillow", 19 ], [ "down_pillow", 19 ], [ "mattress", 4 ] ],
|
||||
[ [ "down_blanket", 3 ], [ "blanket", 3 ], [ "fur_blanket", 3 ] ]
|
||||
],
|
||||
"pre_terrain": "t_floor",
|
||||
@@ -3455,7 +3442,7 @@
|
||||
"time": "15 m",
|
||||
"pre_special": "check_empty",
|
||||
"components": [
|
||||
[ [ "pillow", 4 ], [ "down_pillow", 4 ], [ "makeshift_pillow", 4 ] ],
|
||||
[ [ "pillow", 4 ], [ "down_pillow", 4 ] ],
|
||||
[ [ "down_blanket", 2 ], [ "blanket", 2 ], [ "fur_blanket", 2 ] ],
|
||||
[ [ "box_large", 1 ] ],
|
||||
[ [ "plastic_sheet", 1 ] ],
|
||||
@@ -3536,12 +3523,7 @@
|
||||
"required_skills": [ [ "fabrication", 2 ], [ "survival", 1 ] ],
|
||||
"time": "30 m",
|
||||
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "DIG", "level": 2 } ] ],
|
||||
"components": [
|
||||
[ [ "pointy_stick", 2 ], [ "spear_wood", 2 ], [ "pointy_stick_long", 2 ] ],
|
||||
[ [ "2x4", 5 ] ],
|
||||
[ [ "nail", 12 ] ],
|
||||
[ [ "hinge", 2 ] ]
|
||||
],
|
||||
"components": [ [ [ "pointy_stick", 2 ], [ "spear_wood", 2 ] ], [ [ "2x4", 5 ] ], [ [ "nail", 12 ] ], [ [ "hinge", 2 ] ] ],
|
||||
"pre_flags": "DIGGABLE",
|
||||
"post_terrain": "t_splitrail_fencegate_c"
|
||||
},
|
||||
@@ -3553,12 +3535,7 @@
|
||||
"required_skills": [ [ "fabrication", 2 ], [ "survival", 1 ] ],
|
||||
"time": "30 m",
|
||||
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "DIG", "level": 2 } ] ],
|
||||
"components": [
|
||||
[ [ "pointy_stick", 2 ], [ "spear_wood", 2 ], [ "pointy_stick_long", 2 ] ],
|
||||
[ [ "2x4", 8 ] ],
|
||||
[ [ "nail", 20 ] ],
|
||||
[ [ "hinge", 2 ] ]
|
||||
],
|
||||
"components": [ [ [ "pointy_stick", 2 ], [ "spear_wood", 2 ] ], [ [ "2x4", 8 ] ], [ [ "nail", 20 ] ], [ [ "hinge", 2 ] ] ],
|
||||
"pre_flags": "DIGGABLE",
|
||||
"post_terrain": "t_privacy_fencegate_c"
|
||||
},
|
||||
@@ -3571,7 +3548,7 @@
|
||||
"required_skills": [ [ "fabrication", 2 ], [ "survival", 1 ] ],
|
||||
"time": "30 m",
|
||||
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "DIG", "level": 2 } ] ],
|
||||
"components": [ [ [ "pointy_stick", 2 ], [ "spear_wood", 2 ], [ "pointy_stick_long", 2 ] ], [ [ "2x4", 4 ] ], [ [ "nail", 20 ] ] ],
|
||||
"components": [ [ [ "pointy_stick", 2 ], [ "spear_wood", 2 ] ], [ [ "2x4", 4 ] ], [ [ "nail", 20 ] ] ],
|
||||
"pre_flags": "DIGGABLE",
|
||||
"post_terrain": "t_splitrail_fence"
|
||||
},
|
||||
@@ -3597,7 +3574,7 @@
|
||||
"required_skills": [ [ "fabrication", 2 ], [ "survival", 1 ] ],
|
||||
"time": "30 m",
|
||||
"qualities": [ [ { "id": "HAMMER", "level": 2 } ], [ { "id": "DIG", "level": 2 } ] ],
|
||||
"components": [ [ [ "pointy_stick", 2 ], [ "spear_wood", 2 ], [ "pointy_stick_long", 2 ] ], [ [ "2x4", 8 ] ], [ [ "nail", 20 ] ] ],
|
||||
"components": [ [ [ "pointy_stick", 2 ], [ "spear_wood", 2 ] ], [ [ "2x4", 8 ] ], [ [ "nail", 20 ] ] ],
|
||||
"pre_flags": "DIGGABLE",
|
||||
"post_terrain": "t_privacy_fence"
|
||||
},
|
||||
@@ -3777,10 +3754,10 @@
|
||||
"qualities": [
|
||||
[ { "id": "HAMMER", "level": 2 } ],
|
||||
[ { "id": "SAW_M", "level": 1 } ],
|
||||
[ { "id": "WELD", "level": 2 } ],
|
||||
[ { "id": "DRILL", "level": 3 } ],
|
||||
[ { "id": "WRENCH", "level": 2 } ]
|
||||
],
|
||||
"using": [ [ "welding_standard", 2 ] ],
|
||||
"components": [
|
||||
[ [ "fire_brick", 40 ] ],
|
||||
[ [ "cu_pipe", 4 ] ],
|
||||
@@ -3916,7 +3893,7 @@
|
||||
"required_skills": [ [ "fabrication", 5 ] ],
|
||||
"time": "90 m",
|
||||
"tools": [ [ [ "oxy_torch", 4 ], [ "welder", 20 ], [ "welder_crude", 30 ], [ "toolset", 30 ] ] ],
|
||||
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "GLARE", "level": 1 } ] ],
|
||||
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "GLARE", "level": 2 } ] ],
|
||||
"components": [ [ [ "pipe", 12 ] ], [ [ "sheet_metal", 4 ] ] ],
|
||||
"pre_terrain": "t_window_reinforced",
|
||||
"post_terrain": "t_metal_grate_window"
|
||||
@@ -3930,7 +3907,7 @@
|
||||
"required_skills": [ [ "fabrication", 5 ] ],
|
||||
"time": "90 m",
|
||||
"tools": [ [ [ "oxy_torch", 4 ], [ "welder", 20 ], [ "welder_crude", 30 ], [ "toolset", 30 ] ] ],
|
||||
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "GLARE", "level": 1 } ] ],
|
||||
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "GLARE", "level": 2 } ] ],
|
||||
"components": [ [ [ "pipe", 12 ] ], [ [ "sheet_metal", 4 ] ] ],
|
||||
"pre_terrain": "t_window_reinforced_noglass",
|
||||
"post_terrain": "t_metal_grate_window"
|
||||
@@ -3944,7 +3921,7 @@
|
||||
"required_skills": [ [ "fabrication", 2 ] ],
|
||||
"time": "30 m",
|
||||
"tools": [ [ [ "oxy_torch", 4 ], [ "welder", 20 ], [ "welder_crude", 30 ], [ "toolset", 30 ] ] ],
|
||||
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "GLARE", "level": 1 } ] ],
|
||||
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "GLARE", "level": 2 } ] ],
|
||||
"components": [ [ [ "nail", 4 ] ], [ [ "sheet", 2 ] ], [ [ "stick", 1 ] ], [ [ "string_36", 1 ] ] ],
|
||||
"pre_terrain": "t_metal_grate_window",
|
||||
"post_terrain": "t_metal_grate_window_with_curtain"
|
||||
@@ -3958,7 +3935,7 @@
|
||||
"required_skills": [ [ "fabrication", 2 ] ],
|
||||
"time": "30 m",
|
||||
"tools": [ [ [ "oxy_torch", 4 ], [ "welder", 20 ], [ "welder_crude", 30 ], [ "toolset", 30 ] ] ],
|
||||
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "GLARE", "level": 1 } ] ],
|
||||
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "GLARE", "level": 2 } ] ],
|
||||
"components": [ [ [ "nail", 4 ] ], [ [ "sheet", 2 ] ], [ [ "stick", 1 ] ], [ [ "string_36", 1 ] ] ],
|
||||
"pre_terrain": "t_metal_grate_window",
|
||||
"post_terrain": "t_metal_grate_window_with_curtain"
|
||||
@@ -4387,7 +4364,7 @@
|
||||
"required_skills": [ [ "fabrication", 5 ], [ "mechanics", 6 ] ],
|
||||
"time": "60 m",
|
||||
"tools": [ [ [ "oxy_torch", 4 ], [ "welder", 20 ], [ "welder_crude", 30 ], [ "toolset", 30 ] ] ],
|
||||
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "GLARE", "level": 1 } ] ],
|
||||
"qualities": [ [ { "id": "SAW_M", "level": 1 } ], [ { "id": "GLARE", "level": 2 } ] ],
|
||||
"components": [ [ [ "chain", 16 ] ], [ [ "wheel_metal", 2 ] ], [ [ "pipe", 4 ] ] ],
|
||||
"pre_note": "Must be adjacent to a reinforced concrete wall that is itself adjacent to a metal gate in order to open said gate.",
|
||||
"pre_special": "check_empty",
|
||||
@@ -4401,7 +4378,7 @@
|
||||
"required_skills": [ [ "fabrication", 4 ], [ "mechanics", 4 ] ],
|
||||
"time": "120 m",
|
||||
"tools": [ [ [ "oxy_torch", 10 ], [ "welder", 50 ], [ "welder_crude", 75 ], [ "toolset", 75 ] ] ],
|
||||
"qualities": [ [ { "id": "SAW_M", "level": 2 } ], [ { "id": "GLARE", "level": 1 } ] ],
|
||||
"qualities": [ [ { "id": "SAW_M", "level": 2 } ], [ { "id": "GLARE", "level": 2 } ] ],
|
||||
"components": [
|
||||
[ [ "steel_lump", 8 ], [ "steel_chunk", 24 ], [ "scrap", 72 ] ],
|
||||
[ [ "sheet_metal", 16 ] ],
|
||||
|
||||
@@ -249,11 +249,6 @@
|
||||
"id": "build_dumpster",
|
||||
"name": "Build Dumpster"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "build_metal_trashcan",
|
||||
"name": "Build Metal Trash Can"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "build_gravelbag_wall",
|
||||
@@ -1168,95 +1163,5 @@
|
||||
"type": "construction_group",
|
||||
"id": "remove_gravel",
|
||||
"name": "Remove Gravel"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_empty_window",
|
||||
"name": "Remove an empty window frame"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_linoleum_tiles",
|
||||
"name": "Remove linoleum tiles"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "advanced_object_deconstruction",
|
||||
"name": "Advanced Object Deconstruction"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_reinforced_concrete_floor",
|
||||
"name": "Remove a reinforced concrete floor"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_concrete_floor",
|
||||
"name": "Remove a concrete floor"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_floor",
|
||||
"name": "Remove a wooden floor"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_concrete_wall",
|
||||
"name": "Remove a concrete wall"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_brick_wall",
|
||||
"name": "Remove a brick wall"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_wooden_wall",
|
||||
"name": "Remove a wooden wall"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_wall",
|
||||
"name": "Remove a wall"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_rock_wall",
|
||||
"name": "Remove a rock wall"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_roadway",
|
||||
"name": "Remove a segment of the road/sidewalk"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_metal_door",
|
||||
"name": "Remove metal door"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_concrete_column",
|
||||
"name": "Remove concrete column"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_reinforced_concrete_wall",
|
||||
"name": "Remove reinforced concrete wall"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_rebar_cage",
|
||||
"name": "Remove rebar cage"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_glass_wall",
|
||||
"name": "Remove glass wall"
|
||||
},
|
||||
{
|
||||
"type": "construction_group",
|
||||
"id": "remove_glass_door",
|
||||
"name": "Remove glass door"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,820 +0,0 @@
|
||||
[
|
||||
{
|
||||
"type": "item_group",
|
||||
"id": "wall_deconstruction_results",
|
||||
"subtype": "collection",
|
||||
"entries": [
|
||||
{ "item": "rock", "count": [ 0, 4 ] },
|
||||
{ "item": "wood_panel", "count": [ 0, 2 ] },
|
||||
{ "item": "nail", "charges": [ 8, 32 ] },
|
||||
{ "item": "splinter", "count": [ 0, 4 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item_group",
|
||||
"id": "concrete_deconstruction_results",
|
||||
"subtype": "collection",
|
||||
"entries": [
|
||||
{ "item": "rock", "count": [ 5, 10 ] },
|
||||
{ "item": "scrap", "count": [ 5, 8 ] },
|
||||
{ "item": "rebar", "count": [ 0, 2 ] },
|
||||
{ "item": "material_sand", "charges": [ 50, 125 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item_group",
|
||||
"id": "road_deconstruction_results",
|
||||
"subtype": "collection",
|
||||
"entries": [
|
||||
{ "item": "rock", "count": [ 10, 30 ] },
|
||||
{ "item": "pebble", "count": [ 50, 200 ] },
|
||||
{ "item": "material_sand", "charges": [ 50, 400 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item_group",
|
||||
"id": "metal_door_deconstruction_results",
|
||||
"subtype": "collection",
|
||||
"entries": [
|
||||
{ "item": "scrap", "count": [ 15, 30 ] },
|
||||
{ "item": "sheet_metal", "count": [ 4, 8 ] },
|
||||
{ "item": "hinge", "count": [ 0, 1 ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_window_empty",
|
||||
"group": "remove_empty_window",
|
||||
"//": "Removes an empty window frame, leaving bare floor",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 3 ] ],
|
||||
"time": "60 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "2x4", "count": [ 7, 15 ] }, { "item": "nail", "charges": [ 15, 30 ] } ],
|
||||
"pre_terrain": "t_window_empty",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_metal_window_empty",
|
||||
"group": "remove_empty_window",
|
||||
"//": "Removes an empty metal window frame, leaving bare floor",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 3 ] ],
|
||||
"time": "60 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "spike", "count": [ 3, 6 ] }, { "item": "scrap", "charges": [ 6, 8 ] } ],
|
||||
"pre_terrain": "t_m_frame",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_concrete_floor",
|
||||
"group": "remove_concrete_floor",
|
||||
"//": "Breaks through the concrete pad, leaving a shallow pit",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ] ],
|
||||
"byproducts": "concrete_deconstruction_results",
|
||||
"pre_terrain": "t_concrete",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_t_thconc_floor",
|
||||
"group": "remove_concrete_floor",
|
||||
"//": "Breaks through the concrete pad, leaving a shallow pit",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ] ],
|
||||
"byproducts": "concrete_deconstruction_results",
|
||||
"pre_terrain": "t_thconc_floor",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_t_thconc_y_floor",
|
||||
"group": "remove_concrete_floor",
|
||||
"//": "Breaks through the concrete pad, leaving a shallow pit",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ] ],
|
||||
"byproducts": "concrete_deconstruction_results",
|
||||
"pre_terrain": "t_thconc_y",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_t_thconc_r_floor",
|
||||
"group": "remove_concrete_floor",
|
||||
"//": "Breaks through the concrete pad, leaving a shallow pit",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ] ],
|
||||
"byproducts": "concrete_deconstruction_results",
|
||||
"pre_terrain": "t_thconc_r",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_t_strconc_floor",
|
||||
"group": "remove_reinforced_concrete_floor",
|
||||
"//": "Breaks through the reinforced concrete pad, leaving a deep pit",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 7 ] ],
|
||||
"time": "180 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ], [ "metal_removal_standard", 1 ] ],
|
||||
"byproducts": "concrete_deconstruction_results",
|
||||
"pre_terrain": "t_strconc_floor",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_t_strconc_floor_halfway",
|
||||
"group": "remove_reinforced_concrete_floor",
|
||||
"//": "Breaks through the reinforced concrete pad, leaving a deep pit",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 5 ] ],
|
||||
"time": "80 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ], [ "metal_removal_standard", 1 ] ],
|
||||
"byproducts": "concrete_deconstruction_results",
|
||||
"pre_terrain": "t_strconc_floor_halfway",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_w_linoleum_tiles",
|
||||
"group": "remove_linoleum_tiles",
|
||||
"//": "Removes white linoleum tiles from the floor, leaving bare concrete",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 2 ] ],
|
||||
"time": "10 m",
|
||||
"using": [ [ "linoleum_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "splinter", "count": [ 0, 3 ] }, { "item": "nail", "count": [ 8, 15 ] } ],
|
||||
"pre_terrain": "t_linoleum_white",
|
||||
"post_terrain": "t_thconc_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_g_linoleum_tiles",
|
||||
"group": "remove_linoleum_tiles",
|
||||
"//": "Removes gray linoleum tiles from the floor, leaving bare concrete",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 2 ] ],
|
||||
"time": "10 m",
|
||||
"using": [ [ "linoleum_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "splinter", "count": [ 0, 3 ] }, { "item": "nail", "count": [ 8, 15 ] } ],
|
||||
"pre_terrain": "t_linoleum_gray",
|
||||
"post_terrain": "t_thconc_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_floor",
|
||||
"group": "remove_floor",
|
||||
"//": "Prys up the floor boards, leaving dirt",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 3 ] ],
|
||||
"time": "30 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "2x4", "count": [ 5, 10 ] }, { "item": "splinter", "count": [ 10, 20 ] } ],
|
||||
"pre_terrain": "t_floor",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_waxed_floor_y",
|
||||
"group": "remove_floor",
|
||||
"//": "Prys up the floor boards, leaving dirt",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 3 ] ],
|
||||
"time": "30 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "2x4", "count": [ 5, 10 ] }, { "item": "splinter", "count": [ 10, 20 ] } ],
|
||||
"pre_terrain": "t_floor_waxed_y",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_waxed_floor",
|
||||
"group": "remove_floor",
|
||||
"//": "Prys up the floor boards, leaving dirt",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 3 ] ],
|
||||
"time": "30 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "2x4", "count": [ 5, 10 ] }, { "item": "splinter", "count": [ 10, 20 ] } ],
|
||||
"pre_terrain": "t_floor_waxed",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_concrete_wall",
|
||||
"group": "remove_concrete_wall",
|
||||
"//": "Cuts a segment of concrete wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "rock", "count": [ 20, 44 ] } ],
|
||||
"pre_terrain": "t_concrete_wall",
|
||||
"post_terrain": "t_thconc_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_simple_concrete_wall",
|
||||
"group": "remove_concrete_wall",
|
||||
"//": "Cuts a segment of concrete wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "rock", "count": [ 20, 44 ] } ],
|
||||
"pre_terrain": "t_sconc_wall",
|
||||
"post_terrain": "t_thconc_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_halfway_concrete_wall",
|
||||
"group": "remove_concrete_wall",
|
||||
"//": "Cuts a segment of half complete concrete wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "50 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "rock", "count": [ 15, 30 ] } ],
|
||||
"pre_terrain": "t_sconc_wall_halfway",
|
||||
"post_terrain": "t_thconc_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_halfway_reinforced_concrete_wall",
|
||||
"group": "remove_reinforced_concrete_wall",
|
||||
"//": "Cuts a segment of half complete reinforced concrete wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 5 ] ],
|
||||
"time": "50 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ], [ "metal_removal_standard", 1 ] ],
|
||||
"byproducts": [
|
||||
{ "item": "rock", "count": [ 8, 15 ] },
|
||||
{ "item": "rebar", "count": [ 6, 12 ] },
|
||||
{ "item": "scrap", "count": [ 15, 40 ] }
|
||||
],
|
||||
"pre_terrain": "t_strconc_wall_halfway",
|
||||
"post_terrain": "t_thconc_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_reinforced_concrete_wall",
|
||||
"group": "remove_reinforced_concrete_wall",
|
||||
"//": "Cuts a segment of reinforced concrete wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 5 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ], [ "metal_removal_standard", 1 ] ],
|
||||
"byproducts": [
|
||||
{ "item": "rock", "count": [ 15, 30 ] },
|
||||
{ "item": "rebar", "count": [ 6, 12 ] },
|
||||
{ "item": "scrap", "count": [ 15, 40 ] }
|
||||
],
|
||||
"pre_terrain": "t_strconc_wall",
|
||||
"post_terrain": "t_thconc_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_wall_r",
|
||||
"group": "remove_wall",
|
||||
"//": "Cuts a segment of wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "90 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": "wall_deconstruction_results",
|
||||
"pre_terrain": "t_wall_r",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_wall_w",
|
||||
"group": "remove_wall",
|
||||
"//": "Cuts a segment of wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "90 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": "wall_deconstruction_results",
|
||||
"pre_terrain": "t_wall_w",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_wall_b",
|
||||
"group": "remove_wall",
|
||||
"//": "Cuts a segment of wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "90 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": "wall_deconstruction_results",
|
||||
"pre_terrain": "t_wall_b",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_wall_g",
|
||||
"group": "remove_wall",
|
||||
"//": "Cuts a segment of wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "90 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": "wall_deconstruction_results",
|
||||
"pre_terrain": "t_wall_g",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_wall_y",
|
||||
"group": "remove_wall",
|
||||
"//": "Cuts a segment of wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "90 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": "wall_deconstruction_results",
|
||||
"pre_terrain": "t_wall_y",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_wall_P",
|
||||
"group": "remove_wall",
|
||||
"//": "Cuts a segment of wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "90 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": "wall_deconstruction_results",
|
||||
"pre_terrain": "t_wall_P",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_wall_p",
|
||||
"group": "remove_wall",
|
||||
"//": "Cuts a segment of wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "90 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": "wall_deconstruction_results",
|
||||
"pre_terrain": "t_wall_p",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_rock_wall",
|
||||
"group": "remove_rock_wall",
|
||||
"//": "Cuts out a segment of stone wall, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ], [ "survival", 2 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "rock", "count": [ 15, 20 ] }, { "item": "pebble", "count": [ 20, 30 ] } ],
|
||||
"pre_terrain": "t_rock_wall",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_rock_wall_halfway",
|
||||
"group": "remove_rock_wall",
|
||||
"//": "Cuts out a segment of half complete stone wall, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ], [ "survival", 2 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "rock", "count": [ 6, 10 ] }, { "item": "pebble", "count": [ 20, 30 ] } ],
|
||||
"pre_terrain": "t_rock_wall_half",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_brick_wall",
|
||||
"group": "remove_brick_wall",
|
||||
"//": "Cuts a segment of brick wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "rock", "count": [ 4, 8 ] }, { "item": "brick", "count": [ 4, 12 ] } ],
|
||||
"pre_terrain": "t_brick_wall",
|
||||
"post_terrain": "t_thconc_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_brick_wall_halfway",
|
||||
"group": "remove_brick_wall",
|
||||
"//": "Cuts a segment of half complete brick wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "rock", "count": [ 4, 8 ] }, { "item": "brick", "count": [ 4, 8 ] } ],
|
||||
"pre_terrain": "t_brick_wall_halfway",
|
||||
"post_terrain": "t_thconc_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_adobe_brick_wall",
|
||||
"group": "remove_brick_wall",
|
||||
"//": "Cuts a segment of adobe brick wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "material_soil", "count": [ 8, 20 ] }, { "item": "adobe_brick", "count": [ 4, 12 ] } ],
|
||||
"pre_terrain": "t_adobe_brick_wall",
|
||||
"post_terrain": "t_thconc_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_adobe_brick_wall_halfway",
|
||||
"group": "remove_brick_wall",
|
||||
"//": "Cuts a segment of half complete adobe brick wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "material_soil", "count": [ 8, 20 ] }, { "item": "adobe_brick", "count": [ 4, 8 ] } ],
|
||||
"pre_terrain": "t_adobe_brick_wall_halfway",
|
||||
"post_terrain": "t_thconc_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_wooden_wall",
|
||||
"group": "remove_wooden_wall",
|
||||
"//": "Cuts a segment of wooden wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 5 ] ],
|
||||
"time": "90 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": "wall_deconstruction_results",
|
||||
"pre_terrain": "t_wall_wood",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_wooden_wall_halfway",
|
||||
"group": "remove_wooden_wall",
|
||||
"//": "Cuts a segment of half complete wooden wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 5 ] ],
|
||||
"time": "40 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [
|
||||
{ "item": "nail", "charges": [ 2, 10 ] },
|
||||
{ "item": "splinter", "count": [ 0, 2 ] },
|
||||
{ "item": "2x4", "count": [ 1, 5 ] }
|
||||
],
|
||||
"pre_terrain": "t_wall_half",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_log_wall",
|
||||
"group": "remove_wooden_wall",
|
||||
"//": "Cuts a segment of log wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 5 ] ],
|
||||
"time": "90 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "nail", "charges": [ 5, 10 ] }, { "item": "splinter", "count": [ 20, 40 ] } ],
|
||||
"pre_terrain": "t_wall_log",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_log_wall_half",
|
||||
"group": "remove_wooden_wall",
|
||||
"//": "Cuts a segment of half complete log wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 5 ] ],
|
||||
"time": "30 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "nail", "charges": [ 5, 10 ] }, { "item": "splinter", "count": [ 20, 40 ] } ],
|
||||
"pre_terrain": "t_wall_log_half",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_wall",
|
||||
"group": "remove_wall",
|
||||
"//": "Cuts a segment of wall out very neatly, and then breaks it apart for disposal.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": "wall_deconstruction_results",
|
||||
"pre_terrain": "t_wall",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_sidewalk",
|
||||
"group": "remove_roadway",
|
||||
"//": "Breaks through the sidewalk, leaving a shallow pit",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "120 m",
|
||||
"using": [ [ "road_removal_standard", 1 ] ],
|
||||
"byproducts": "road_deconstruction_results",
|
||||
"pre_terrain": "t_sidewalk",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_pavement",
|
||||
"group": "remove_roadway",
|
||||
"//": "Breaks through the pavement, leaving a shallow pit",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "30 m",
|
||||
"using": [ [ "road_removal_standard", 1 ] ],
|
||||
"byproducts": "road_deconstruction_results",
|
||||
"pre_terrain": "t_pavement",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_pavement_y",
|
||||
"group": "remove_roadway",
|
||||
"//": "Breaks through the pavement, leaving a shallow pit",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "30 m",
|
||||
"using": [ [ "road_removal_standard", 1 ] ],
|
||||
"byproducts": "road_deconstruction_results",
|
||||
"pre_terrain": "t_pavement_y",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_zebra",
|
||||
"group": "remove_roadway",
|
||||
"//": "Breaks through the pavement, leaving a shallow pit",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 6 ] ],
|
||||
"time": "30 m",
|
||||
"using": [ [ "road_removal_standard", 1 ] ],
|
||||
"byproducts": "road_deconstruction_results",
|
||||
"pre_terrain": "t_zebra",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_metal_door_frame",
|
||||
"group": "remove_metal_door",
|
||||
"//": "Removes a metal door frame",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 2 ] ],
|
||||
"time": "15 m",
|
||||
"using": [ [ "metal_removal_standard", 1 ] ],
|
||||
"byproducts": "metal_door_deconstruction_results",
|
||||
"pre_terrain": "t_mdoor_frame",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_metal_door",
|
||||
"group": "remove_metal_door",
|
||||
"//": "Removes a metal door",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "10 m",
|
||||
"using": [ [ "metal_removal_standard", 1 ] ],
|
||||
"byproducts": "metal_door_deconstruction_results",
|
||||
"pre_terrain": "t_door_metal_c",
|
||||
"post_terrain": "t_mdoor_frame"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_metal_door_peephole",
|
||||
"group": "remove_metal_door",
|
||||
"//": "Removes a metal door with a peephole",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "10 m",
|
||||
"using": [ [ "metal_removal_standard", 1 ] ],
|
||||
"byproducts": [
|
||||
{ "item": "scrap", "count": [ 15, 30 ] },
|
||||
{ "item": "sheet_metal", "count": [ 4, 8 ] },
|
||||
{ "item": "peephole", "count": [ 0, 1 ] },
|
||||
{ "item": "hinge", "count": [ 0, 1 ] }
|
||||
],
|
||||
"pre_terrain": "t_door_metal_c_peep",
|
||||
"post_terrain": "t_mdoor_frame"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_metal_door_locked",
|
||||
"group": "remove_metal_door",
|
||||
"//": "Removes a metal door",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "10 m",
|
||||
"using": [ [ "metal_removal_standard", 1 ] ],
|
||||
"byproducts": "metal_door_deconstruction_results",
|
||||
"pre_terrain": "t_door_metal_locked",
|
||||
"post_terrain": "t_mdoor_frame"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_metal_door_lab",
|
||||
"group": "remove_metal_door",
|
||||
"//": "Removes a metal door",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "10 m",
|
||||
"using": [ [ "metal_removal_standard", 1 ] ],
|
||||
"byproducts": "metal_door_deconstruction_results",
|
||||
"pre_terrain": "t_door_metal_lab_c",
|
||||
"post_terrain": "t_mdoor_frame"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_reb_cage",
|
||||
"group": "remove_rebar_cage",
|
||||
"//": "Remove a Rebar cage",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 3 ] ],
|
||||
"time": "20 m",
|
||||
"using": [ [ "metal_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "rebar", "count": [ 8, 16 ] } ],
|
||||
"pre_terrain": "t_reb_cage",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_reb_cage_floor",
|
||||
"group": "remove_rebar_cage",
|
||||
"//": "Remove a Rebar floor cage",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 3 ] ],
|
||||
"time": "20 m",
|
||||
"using": [ [ "metal_removal_standard", 1 ] ],
|
||||
"byproducts": [
|
||||
{ "item": "rebar", "count": [ 6, 12 ] },
|
||||
{ "item": "2x4", "count": [ 6, 12 ] },
|
||||
{ "item": "pipe", "count": [ 2, 4 ] },
|
||||
{ "item": "scrap", "count": [ 5, 15 ] }
|
||||
],
|
||||
"pre_terrain": "t_ov_reb_cage",
|
||||
"post_terrain": "t_dirt"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_column_halfway",
|
||||
"group": "remove_concrete_column",
|
||||
"//": "Variant 1: foundation",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "40 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ], [ "metal_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "rebar", "count": [ 8, 16 ] }, { "item": "rock", "count": [ 5, 10 ] } ],
|
||||
"pre_terrain": "t_column_halfway",
|
||||
"post_terrain": "t_thconc_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_column",
|
||||
"group": "remove_concrete_column",
|
||||
"//": "Variant 2: Finished column",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "70 m",
|
||||
"using": [ [ "concrete_removal_standard", 1 ], [ "metal_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "rebar", "count": [ 8, 16 ] }, { "item": "rock", "count": [ 15, 30 ] } ],
|
||||
"pre_terrain": "t_column",
|
||||
"post_terrain": "t_thconc_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_reinforced_glass",
|
||||
"group": "remove_glass_wall",
|
||||
"//": "Removes a reinforced glass wall",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "10 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "reinforced_glass_sheet", "count": [ 1, 1 ] } ],
|
||||
"pre_terrain": "t_reinforced_glass",
|
||||
"post_terrain": "t_m_frame"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_glass_wall",
|
||||
"group": "remove_glass_wall",
|
||||
"//": "Removes a glass wall",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "10 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "glass_sheet", "count": [ 1, 1 ] } ],
|
||||
"pre_terrain": "t_wall_glass",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_glass_door",
|
||||
"group": "remove_glass_door",
|
||||
"//": "Removes a glass door",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "10 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "glass_sheet", "count": [ 1, 2 ] } ],
|
||||
"pre_terrain": "t_door_glass_c",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_glass_frosted_door",
|
||||
"group": "remove_glass_door",
|
||||
"//": "Removes a frosted glass door",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "10 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "glass_sheet", "count": [ 1, 2 ] } ],
|
||||
"pre_terrain": "t_door_glass_frosted_c",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_glass_door_lab",
|
||||
"group": "remove_glass_door",
|
||||
"//": "Removes a lab glass door",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "10 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "glass_sheet", "count": [ 1, 2 ] } ],
|
||||
"pre_terrain": "t_door_glass_lab_c",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_glass_frosted_door_lab",
|
||||
"group": "remove_glass_door",
|
||||
"//": "Removes a frosted lab glass door",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "10 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "glass_sheet", "count": [ 1, 2 ] } ],
|
||||
"pre_terrain": "t_door_glass_frosted_lab_c",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_reinforced_glass_door",
|
||||
"group": "remove_glass_door",
|
||||
"//": "Removes a reinforced glass door",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "10 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "reinforced_glass_sheet", "count": [ 1, 2 ] } ],
|
||||
"pre_terrain": "t_reinforced_door_glass_c",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_reinforced_glass_door_lab",
|
||||
"group": "remove_glass_door",
|
||||
"//": "Removes a reinforced lab glass door",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 4 ] ],
|
||||
"time": "10 m",
|
||||
"using": [ [ "wall_floor_glass_removal_standard", 1 ] ],
|
||||
"byproducts": [ { "item": "reinforced_glass_sheet", "count": [ 1, 2 ] } ],
|
||||
"pre_terrain": "t_reinforced_door_glass_lab_c",
|
||||
"post_terrain": "t_floor"
|
||||
},
|
||||
{
|
||||
"type": "construction",
|
||||
"id": "constr_remove_object_fireplace",
|
||||
"group": "advanced_object_deconstruction",
|
||||
"//": "Breaks a fireplace apart giving you back most of the rocks used in its construction.",
|
||||
"category": "CONSTRUCT",
|
||||
"required_skills": [ [ "fabrication", 2 ] ],
|
||||
"time": "90 m",
|
||||
"using": [ [ "object_deconstruction_advanced", 1 ] ],
|
||||
"byproducts": [ { "item": "rock", "count": [ 35, 40 ] } ],
|
||||
"pre_terrain": "f_fireplace",
|
||||
"post_terrain": "f_null"
|
||||
}
|
||||
]
|
||||
@@ -14,36 +14,12 @@
|
||||
"category": "MEDICAL",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [ "You have a strange dream about rabbits.", "Your dreams give you a strange furry feeling." ],
|
||||
"category": "RABBIT",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [ "You have a strange dream about birds.", "Your dreams give you a strange feathered feeling." ],
|
||||
"category": "BIRD",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [
|
||||
"You have a strange dream about snails and slugs in your garden.",
|
||||
"Your dreams leave you feeling like something is stuck to you."
|
||||
],
|
||||
"category": "GASTROPOD",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [
|
||||
"You have a strange dream about frogs in a pond near your childhood home.",
|
||||
"Your dreams contain a croaking concerto."
|
||||
],
|
||||
"category": "BATRACHIAN",
|
||||
"strength": 1
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [ "You have a strange dream about fish.", "Your dreams give you a strange wet, scaly feeling." ],
|
||||
@@ -186,33 +162,6 @@
|
||||
"category": "MEDICAL",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [
|
||||
"You have a disturbing dream about running from dogs.",
|
||||
"While dreaming, you see a distinctively rabbit-like reflection of yourself."
|
||||
],
|
||||
"category": "RABBIT",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [
|
||||
"You have a strange dream of carrying a house on your back.",
|
||||
"While dreaming, you see yourself weighted down under massive backpack/tent upon your back, as you pass by a mirrored surface."
|
||||
],
|
||||
"category": "GASTROPOD",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [
|
||||
"You have a disturbing dream of eating insects.",
|
||||
"While dreaming, you see yourself in a pond, your face has widened and is covered in mucus."
|
||||
],
|
||||
"category": "BATRACHIAN",
|
||||
"strength": 2
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [
|
||||
@@ -377,15 +326,6 @@
|
||||
"category": "LIZARD",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [
|
||||
"You have a strange dream about being the Easter Bunny.",
|
||||
"You have a comforting and warm dream of living as a rabbit."
|
||||
],
|
||||
"category": "RABBIT",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [
|
||||
@@ -413,24 +353,6 @@
|
||||
"category": "FISH",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [
|
||||
"You dream of leaping from the water to catch your prey.",
|
||||
"You wake up with your legs pumping as you hop along in your sleep."
|
||||
],
|
||||
"category": "BATRACHIAN",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [
|
||||
"You dream of crawling along the world when you realize you can see three hundred and sixty degrees around yourself.",
|
||||
"You dream of curling up inside a shell to sleep."
|
||||
],
|
||||
"category": "GASTROPOD",
|
||||
"strength": 3
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [
|
||||
@@ -608,12 +530,6 @@
|
||||
"category": "BIRD",
|
||||
"strength": 4
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [ "Will your burrow be warm enough for the family in winter?", "You dream of outrunning the apocalypse." ],
|
||||
"category": "RABBIT",
|
||||
"strength": 4
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [
|
||||
@@ -755,24 +671,6 @@
|
||||
"category": "ELFA",
|
||||
"strength": 4
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [
|
||||
"There is so much that you never imagined, the slime, the legs, and eyestalks but the shell was worth it.",
|
||||
"You'll always be home, once you take this last step."
|
||||
],
|
||||
"category": "GASTROPOD",
|
||||
"strength": 4
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [
|
||||
"You'd never considered that frogs were generalist predators before this point in your life…",
|
||||
"On land and in the water, you control all that you can reach, and your tongue has quite the reach."
|
||||
],
|
||||
"category": "BATRACHIAN",
|
||||
"strength": 4
|
||||
},
|
||||
{
|
||||
"type": "dream",
|
||||
"messages": [ "Your body flows slightly faster than you expected… oh, just a dream.", "FIGHT. FEED. FORWARD." ],
|
||||
|
||||
@@ -1,51 +1,19 @@
|
||||
[
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "scenario_bad_day",
|
||||
"eoc_type": "SCENARIO_SPECIFIC",
|
||||
"effect": [
|
||||
{ "u_add_effect": "flu", "intensity": 1, "duration": "1000 minutes" },
|
||||
{ "u_add_effect": "drunk", "intensity": 1, "duration": "270 minutes" },
|
||||
{
|
||||
"u_add_morale": "morale_feeling_bad",
|
||||
"bonus": -100,
|
||||
"max_bonus": -100,
|
||||
"duration": "50 minutes",
|
||||
"decay_start": "50 minutes"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "scenario_infected",
|
||||
"eoc_type": "SCENARIO_SPECIFIC",
|
||||
"effect": [
|
||||
{ "u_add_effect": "infected", "intensity": 1, "duration": "PERMANENT", "target_part": "RANDOM" },
|
||||
{ "assign_mission": "MISSION_INFECTED_START_FIND_ANTIBIOTICS" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "scenario_fungal_infection",
|
||||
"eoc_type": "SCENARIO_SPECIFIC",
|
||||
"effect": [ { "u_add_effect": "fungus", "intensity": 1, "duration": "PERMANENT", "target_part": "RANDOM" } ]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "thunder",
|
||||
"recurrence_min": 1,
|
||||
"recurrence_max": 1,
|
||||
"global": true,
|
||||
"condition": {
|
||||
"and": [
|
||||
{ "or": [ { "is_weather": "thunder" }, { "is_weather": "lightning" } ] },
|
||||
{ "one_in_chance": 50 },
|
||||
{ "compare_int": [ { "u_val": "pos_z" }, { "const": 0 } ], "op": ">=" }
|
||||
{ "u_is_height": 0 }
|
||||
]
|
||||
},
|
||||
"deactivate_condition": { "not": { "or": [ { "is_weather": "thunder" }, { "is_weather": "lightning" } ] } },
|
||||
"effect": [
|
||||
{ "u_message": "You hear a distant rumble of thunder.", "sound": true },
|
||||
{ "message": "You hear a distant rumble of thunder.", "sound": true },
|
||||
{ "sound_effect": "thunder_far", "outdoor_event": true, "id": "environment" }
|
||||
]
|
||||
},
|
||||
@@ -54,20 +22,12 @@
|
||||
"id": "lightning",
|
||||
"recurrence_min": 1,
|
||||
"recurrence_max": 1,
|
||||
"global": true,
|
||||
"condition": {
|
||||
"and": [
|
||||
{ "is_weather": "lightning" },
|
||||
{ "one_in_chance": 600 },
|
||||
{ "compare_int": [ { "u_val": "pos_z" }, { "const": 0 } ], "op": ">=" }
|
||||
]
|
||||
},
|
||||
"condition": { "and": [ { "is_weather": "lightning" }, { "one_in_chance": 600 }, { "u_is_height": 0 } ] },
|
||||
"deactivate_condition": { "not": { "is_weather": "lightning" } },
|
||||
"effect": [
|
||||
{ "u_message": "A flash of lightning illuminates your surroundings!" },
|
||||
{ "message": "A flash of lightning illuminates your surroundings!" },
|
||||
{ "sound_effect": "thunder_near", "id": "environment" },
|
||||
"lightning",
|
||||
{ "custom_light_level": 100, "length_min": "1 seconds", "length_max": "1 seconds" }
|
||||
"lightning"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -75,48 +35,33 @@
|
||||
"id": "acid_drizzle",
|
||||
"recurrence_min": 1,
|
||||
"recurrence_max": 1,
|
||||
"global": true,
|
||||
"run_for_npcs": true,
|
||||
"condition": {
|
||||
"and": [
|
||||
{ "is_weather": "acid_drizzle" },
|
||||
"u_is_outside",
|
||||
{ "compare_int": [ { "u_val": "pain" }, { "const": 30 } ], "op": "<" }
|
||||
]
|
||||
},
|
||||
"condition": { "and": [ { "is_weather": "acid_drizzle" }, "u_is_outside", { "not": { "u_has_pain": 30 } } ] },
|
||||
"deactivate_condition": { "not": { "is_weather": "acid_drizzle" } },
|
||||
"effect": [
|
||||
{ "u_message": "The acid rain stings, but is mostly harmless for now…" },
|
||||
{ "arithmetic": [ { "u_val": "pain" }, "++" ] }
|
||||
]
|
||||
"effect": [ { "message": "The acid rain stings, but is mostly harmless for now…" }, { "u_mod_pain": 1 } ]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "acid_rain",
|
||||
"recurrence_min": 1,
|
||||
"recurrence_max": 1,
|
||||
"global": true,
|
||||
"run_for_npcs": true,
|
||||
"condition": {
|
||||
"and": [
|
||||
{ "is_weather": "acid_rain" },
|
||||
"u_is_outside",
|
||||
{ "compare_int": [ { "u_val": "pain" }, { "const": 100 } ], "op": "<" },
|
||||
{ "not": { "u_has_pain": 100 } },
|
||||
{
|
||||
"not": { "or": [ { "u_has_wielded_with_flag": "RAIN_PROTECT" }, { "u_has_worn_with_flag": "RAINPROOF" } ] }
|
||||
}
|
||||
]
|
||||
},
|
||||
"deactivate_condition": { "not": { "is_weather": "acid_rain" } },
|
||||
"effect": [ { "u_message": "The acid rain burns!" }, { "arithmetic": [ { "u_val": "pain" }, "+=", { "const": 3 } ] } ]
|
||||
"effect": [ { "message": "The acid rain burns!" }, { "u_mod_pain": 3 } ]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "snow",
|
||||
"recurrence_min": 6,
|
||||
"recurrence_max": 6,
|
||||
"global": true,
|
||||
"run_for_npcs": true,
|
||||
"condition": { "and": [ { "is_weather": "snowing" }, "u_is_outside" ] },
|
||||
"deactivate_condition": { "not": { "is_weather": "snowing" } },
|
||||
"effect": [ { "u_add_wet": 10 } ]
|
||||
@@ -126,8 +71,6 @@
|
||||
"id": "snowstorm",
|
||||
"recurrence_min": 6,
|
||||
"recurrence_max": 6,
|
||||
"global": true,
|
||||
"run_for_npcs": true,
|
||||
"condition": { "and": [ { "is_weather": "snowstorm" }, "u_is_outside" ] },
|
||||
"deactivate_condition": { "not": { "is_weather": "snowstorm" } },
|
||||
"effect": [ { "u_add_wet": 40 } ]
|
||||
@@ -137,276 +80,12 @@
|
||||
"id": "bio_drain",
|
||||
"recurrence_min": "30 minutes",
|
||||
"recurrence_max": "1 hours 30 minutes",
|
||||
"condition": {
|
||||
"and": [ { "u_has_bionics": "bio_drain" }, { "compare_int": [ { "u_val": "power" }, { "power": "25 kJ" } ], "op": ">=" } ]
|
||||
},
|
||||
"condition": { "and": [ { "u_has_bionics": "bio_drain" }, { "u_has_power": "24 kJ" } ] },
|
||||
"deactivate_condition": { "not": { "u_has_bionics": "bio_drain" } },
|
||||
"effect": [
|
||||
{ "u_message": "Your batteries discharge slightly.", "type": "bad" },
|
||||
{ "message": "Your batteries discharge slightly.", "type": "bad" },
|
||||
{ "sound_effect": "elec_crackle_low", "id": "bionics", "volume": 100 },
|
||||
{ "arithmetic": [ { "u_val": "power" }, "-=", { "power": "25 kJ" } ] }
|
||||
{ "u_add_power": "-25kJ" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "EOC_SLEEP",
|
||||
"effect": [ { "u_message": "You feel very sleepy…" }, { "arithmetic": [ { "u_val": "fatigue" }, "+=", { "const": 40 } ] } ]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "EOC_MINOR_SLEEP",
|
||||
"effect": [ { "u_message": "You feel sleepy…" }, { "arithmetic": [ { "u_val": "fatigue" }, "+=", { "const": 20 } ] } ]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "ambient_subway",
|
||||
"recurrence_min": "1 hours",
|
||||
"recurrence_max": "2 hours",
|
||||
"global": true,
|
||||
"condition": { "or": [ { "u_at_om_location": "subway_ns" }, { "u_at_om_location": "subway_ew" } ] },
|
||||
"effect": [ { "u_message": "<AMBIENT_SUBWAY>", "snippet": true, "sound": true } ]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "ambient_lab_subway",
|
||||
"recurrence_min": "1 hours",
|
||||
"recurrence_max": "2 hours",
|
||||
"global": true,
|
||||
"condition": { "or": [ { "u_at_om_location": "lab_subway_ns" }, { "u_at_om_location": "lab_subway_ew" } ] },
|
||||
"effect": [ { "u_message": "AMBIENT_LAB_SUBWAY", "snippet": true, "sound": true } ]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "night_messages",
|
||||
"recurrence_min": "4 hours",
|
||||
"recurrence_max": "8 hours",
|
||||
"condition": {
|
||||
"and": [
|
||||
{ "one_in_chance": 3 },
|
||||
{ "not": "is_day" },
|
||||
"u_can_see",
|
||||
{ "is_weather": "clear" },
|
||||
{ "not": { "days_since_cataclysm": 14 } },
|
||||
"u_is_outside"
|
||||
]
|
||||
},
|
||||
"deactivate_condition": { "days_since_cataclysm": 14 },
|
||||
"effect": [ { "u_message": "PORTAL_STORM_NIGHT_MESSAGES_1", "snippet": true } ]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "night_messages2",
|
||||
"recurrence_min": "4 hours",
|
||||
"recurrence_max": "8 hours",
|
||||
"condition": {
|
||||
"and": [
|
||||
{ "one_in_chance": 3 },
|
||||
{ "not": "is_day" },
|
||||
"u_can_see",
|
||||
{ "is_weather": "clear" },
|
||||
{ "days_since_cataclysm": 14 },
|
||||
{ "not": { "days_since_cataclysm": 50 } },
|
||||
"u_is_outside"
|
||||
]
|
||||
},
|
||||
"deactivate_condition": { "days_since_cataclysm": 50 },
|
||||
"effect": [ { "u_message": "PORTAL_STORM_NIGHT_MESSAGES_2", "snippet": true } ]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "night_messages3",
|
||||
"recurrence_min": "4 hours",
|
||||
"recurrence_max": "8 hours",
|
||||
"condition": {
|
||||
"and": [
|
||||
{ "one_in_chance": 3 },
|
||||
{ "not": "is_day" },
|
||||
"u_can_see",
|
||||
{ "is_weather": "clear" },
|
||||
{ "days_since_cataclysm": 50 },
|
||||
"u_is_outside"
|
||||
]
|
||||
},
|
||||
"effect": [ { "u_message": "PORTAL_STORM_NIGHT_MESSAGES_3", "snippet": true } ]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "eoc_robofac_surveillance",
|
||||
"condition": { "or": [ { "u_has_trait": "PROF_HUB01_ANCILLIARY" }, { "u_has_effect": "robofac_surveillance" } ] },
|
||||
"deactivate_condition": { "not": { "or": [ { "u_has_trait": "PROF_HUB01_ANCILLIARY" }, { "u_has_effect": "robofac_surveillance" } ] } },
|
||||
"effect": [
|
||||
{
|
||||
"u_set_spawn_monster": "mon_robofac_camspy",
|
||||
"real_count": 1,
|
||||
"min_radius": 15,
|
||||
"max_radius": 40,
|
||||
"outdoor_only": true
|
||||
},
|
||||
{
|
||||
"set_queue_effect_on_condition": [ "eoc_robofac_surveillance" ],
|
||||
"time_in_future_min": "1 days",
|
||||
"time_in_future_max": "7 days"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "bio_trip",
|
||||
"recurrence_min": "25 minutes",
|
||||
"recurrence_max": "1 hours 15 minutes",
|
||||
"condition": {
|
||||
"and": [
|
||||
{ "u_has_bionics": "bio_trip" },
|
||||
{ "not": { "or": [ { "u_has_effect": "visuals" }, { "u_has_effect": "narcosis" } ] } }
|
||||
]
|
||||
},
|
||||
"deactivate_condition": { "not": { "u_has_bionics": "bio_trip" } },
|
||||
"effect": [
|
||||
{ "u_message": "Your vision pixelates!", "type": "bad" },
|
||||
{ "sound_effect": "pixelated", "id": "bionics", "volume": 100 },
|
||||
{ "u_add_effect": "visuals", "duration": "10 minutes" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "mut_eyestalk",
|
||||
"recurrence_min": "2 hours 15 minutes",
|
||||
"recurrence_max": "10 hours 15 minutes",
|
||||
"condition": {
|
||||
"and": [
|
||||
{ "u_has_trait": "EYESTALKS1" },
|
||||
{ "not": { "or": [ { "u_has_effect": "visuals" }, { "u_has_effect": "narcosis" } ] } }
|
||||
]
|
||||
},
|
||||
"deactivate_condition": { "not": { "u_has_trait": "EYESTALKS1" } },
|
||||
"effect": [
|
||||
{ "u_message": "Your vision inverts!", "type": "bad" },
|
||||
{ "sound_effect": "pixelated", "id": "bionics", "volume": 50 },
|
||||
{ "u_add_effect": "visuals", "duration": "10 minutes" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "bio_spasm",
|
||||
"recurrence_min": "2 hours 30 minutes",
|
||||
"recurrence_max": "7 hours 30 minutes",
|
||||
"condition": {
|
||||
"and": [
|
||||
{ "u_has_bionics": "bio_spasm" },
|
||||
{ "not": { "or": [ { "u_has_effect": "downed" }, { "u_has_effect": "narcosis" } ] } }
|
||||
]
|
||||
},
|
||||
"deactivate_condition": { "not": { "u_has_bionics": "bio_spasm" } },
|
||||
"effect": [
|
||||
{ "u_message": "Your malfunctioning bionic causes you to spasm and fall to the floor!", "type": "bad" },
|
||||
{ "sound_effect": "elec_crackle_high", "id": "bionics", "volume": 100 },
|
||||
{ "arithmetic": [ { "u_val": "pain" }, "++" ] },
|
||||
{ "u_add_effect": "stunned", "duration": 1 },
|
||||
{ "u_add_effect": "downed", "duration": 1, "force": true }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "bio_shakes",
|
||||
"recurrence_min": "1 hours",
|
||||
"recurrence_max": "3 hours",
|
||||
"condition": {
|
||||
"and": [ { "u_has_bionics": "bio_shakes" }, { "compare_int": [ { "u_val": "power" }, { "power": "25 kJ" } ], "op": ">=" } ]
|
||||
},
|
||||
"deactivate_condition": { "not": { "u_has_bionics": "bio_shakes" } },
|
||||
"effect": [
|
||||
{ "u_message": "Your bionics short-circuit, causing you to tremble and shiver.", "type": "bad" },
|
||||
{ "sound_effect": "elec_crackle_med", "id": "bionics", "volume": 100 },
|
||||
{ "u_add_effect": "shakes", "duration": "5 minutes" },
|
||||
{ "arithmetic": [ { "u_val": "power" }, "-=", { "power": "25kJ" } ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "bio_glowy",
|
||||
"recurrence_min": "25 minutes",
|
||||
"recurrence_max": "1 hours 15 minutes",
|
||||
"condition": {
|
||||
"and": [
|
||||
{ "u_has_bionics": "bio_glowy" },
|
||||
{ "not": { "u_has_effect": "glowy_led" } },
|
||||
{ "compare_int": [ { "u_val": "power" }, { "power": "1 kJ" } ], "op": ">=" }
|
||||
]
|
||||
},
|
||||
"deactivate_condition": { "not": { "u_has_bionics": "bio_glowy" } },
|
||||
"effect": [
|
||||
{ "u_message": "Your malfunctioning bionic starts to glow!", "type": "bad" },
|
||||
{ "u_add_effect": "glowy_led", "duration": "5 minutes" },
|
||||
{ "arithmetic": [ { "u_val": "power" }, "-=", { "power": "1kJ" } ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "bio_sleepy",
|
||||
"recurrence_min": "25 minutes",
|
||||
"recurrence_max": "1 hours 15 minutes",
|
||||
"condition": { "and": [ { "u_has_bionics": "bio_sleepy" }, { "not": { "u_has_effect": "sleep" } } ] },
|
||||
"deactivate_condition": { "not": { "u_has_bionics": "bio_sleepy" } },
|
||||
"effect": [ { "arithmetic": [ { "u_val": "fatigue" }, "++" ] } ]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "bio_itchy",
|
||||
"recurrence_min": "25 minutes",
|
||||
"recurrence_max": "1 hours 15 minutes",
|
||||
"condition": { "and": [ { "u_has_bionics": "bio_itchy" }, { "not": { "u_has_effect": "formication" } } ] },
|
||||
"deactivate_condition": { "not": { "u_has_bionics": "bio_itchy" } },
|
||||
"effect": [
|
||||
{ "u_message": "Your malfunctioning bionic itches!", "type": "bad" },
|
||||
{ "u_add_effect": "formication", "duration": "10 minutes", "target_part": "RANDOM" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "bio_noise",
|
||||
"recurrence_min": "30 minutes",
|
||||
"recurrence_max": "1 hours 30 minutes",
|
||||
"condition": { "and": [ { "u_has_bionics": "bio_noise" }, { "not": { "u_has_effect": "narcosis" } } ] },
|
||||
"deactivate_condition": { "not": { "u_has_bionics": "bio_noise" } },
|
||||
"effect": [
|
||||
{ "u_make_sound": "Crackle!", "volume": 60, "type": "movement" },
|
||||
{
|
||||
"set_queue_effect_on_condition": [
|
||||
{
|
||||
"id": "bio_noise_hearing",
|
||||
"condition": { "not": "u_is_deaf" },
|
||||
"effect": [
|
||||
{ "u_message": "Your faulty bionic emits a crackle of noise!", "type": "bad" },
|
||||
{ "sound_effect": "elec_blast", "id": "bionics", "volume": 100 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "bio_noise_deaf",
|
||||
"condition": "u_is_deaf",
|
||||
"effect": [
|
||||
{ "u_message": "You feel your faulty bionic shuddering.", "type": "bad" },
|
||||
{ "sound_effect": "elec_blast_muffled", "id": "bionics", "volume": 100 }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "bio_leaky",
|
||||
"recurrence_min": "3 minutes",
|
||||
"recurrence_max": "9 minutes",
|
||||
"condition": { "u_has_bionics": "bio_leaky" },
|
||||
"deactivate_condition": { "not": { "u_has_bionics": "bio_leaky" } },
|
||||
"effect": [ { "u_mod_healthy": -1, "cap": -200 } ]
|
||||
},
|
||||
{
|
||||
"id": "EOC_MIGO_INTEREST_INCREASE",
|
||||
"type": "effect_on_condition",
|
||||
"recurrence_min": "7 days",
|
||||
"recurrence_max": "14 days",
|
||||
"condition": { "not": { "one_in_chance": 4 } },
|
||||
"effect": [ { "u_adjust_var": "migo_interest", "type": "migo_interest", "context": "interest", "adjustment": 1 } ]
|
||||
}
|
||||
]
|
||||
|
||||
+68
-124
@@ -213,18 +213,6 @@
|
||||
"name": [ "Has Saddle" ],
|
||||
"desc": [ "AI tag used for critters wearing a saddle. This is a bug if you have it." ]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "leashed",
|
||||
"name": [ "Has Leash" ],
|
||||
"desc": [ "AI tag used for critters wearing a leash. This is a bug if you have it." ]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "led_by_leash",
|
||||
"name": [ "Being Led By Leash" ],
|
||||
"desc": [ "AI tag used for critters forced to follow using a leash. This is a bug if you have it." ]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "tied",
|
||||
@@ -250,29 +238,12 @@
|
||||
"name": [ "Bounced" ],
|
||||
"desc": [ "AI tag used for bouncing ammo targeting. This is a bug if you have it." ]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "frenzy",
|
||||
"name": [ "Frenzied" ],
|
||||
"desc": [ "Monster effect used to buff allies. This is a bug if you have it." ],
|
||||
"max_intensity": 5,
|
||||
"int_add_val": 1,
|
||||
"max_duration": "15 m",
|
||||
"base_mods": { "speed_mod": [ 10 ], "hit_mod": [ 1 ], "dodge_mod": [ 1 ] },
|
||||
"scaling_mods": { "speed_mod": [ 10 ], "hit_mod": [ 1 ], "dodge_mod": [ 0.5 ] }
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "pushed",
|
||||
"name": [ "Pushed" ],
|
||||
"desc": [ "AI tag used for monsters pushing each other. This is a bug if you have it." ]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "worked_on",
|
||||
"name": [ "Worked On" ],
|
||||
"desc": [ "AI tag used for robots being disabled. This is a bug if you have it." ]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "venom_player1",
|
||||
@@ -306,7 +277,6 @@
|
||||
"desc": [ "You're knocked to the ground. You have to get up before you can move." ],
|
||||
"apply_message": "You're knocked to the floor!",
|
||||
"rating": "bad",
|
||||
"resist_traits": [ "GASTROPOD_FOOT" ],
|
||||
"show_in_info": true
|
||||
},
|
||||
{
|
||||
@@ -421,7 +391,6 @@
|
||||
"name": [ "Unstable footing" ],
|
||||
"desc": [ "Your footing is unstable. It's more difficult to fight while standing here." ],
|
||||
"apply_message": "You try to keep your balance.",
|
||||
"resist_traits": [ "GASTROPOD_BALANCE" ],
|
||||
"rating": "bad"
|
||||
},
|
||||
{
|
||||
@@ -525,31 +494,6 @@
|
||||
"show_in_info": true,
|
||||
"blood_analysis_description": "Poison"
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "tpollen",
|
||||
"name": [ "Hard of Breath" ],
|
||||
"desc": [ "The pollen makes it hard to breathe!" ],
|
||||
"miss_messages": [ [ "You cough out pollen.", 1 ] ],
|
||||
"rating": "bad",
|
||||
"harmful_cough": true,
|
||||
"pain_sizing": true,
|
||||
"hurt_sizing": true,
|
||||
"main_parts_only": true,
|
||||
"base_mods": {
|
||||
"per_mod": [ -2, -1 ],
|
||||
"dex_mod": [ -1, -1 ],
|
||||
"str_mod": [ -2, 0 ],
|
||||
"pain_min": [ 2 ],
|
||||
"pain_chance": [ 150, 900 ],
|
||||
"hurt_min": [ 2 ],
|
||||
"hurt_chance": [ 450, 2700 ],
|
||||
"speed_mod": [ -10 ],
|
||||
"cough_chance": [ 10 ]
|
||||
},
|
||||
"show_in_info": true,
|
||||
"blood_analysis_description": "Unknown Organic Toxin"
|
||||
},
|
||||
{
|
||||
"id": "venom_dmg",
|
||||
"type": "effect_type",
|
||||
@@ -619,26 +563,6 @@
|
||||
"speed_mod": [ -0.31, -0.21 ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "venom_blind",
|
||||
"name": [ "Distracted", "Inattentive", "Dissociated" ],
|
||||
"desc": [
|
||||
"You find it hard to concentrate on your surroundings properly.",
|
||||
"You're not even listening, are you?",
|
||||
"Everything will be fine. Just ignore all you see, and everything will be fine."
|
||||
],
|
||||
"apply_message": "Your vision grows blurry.",
|
||||
"miss_messages": [ [ "It was right here, wasn't it?", 2 ], [ "Are you sure there's something there?", 1 ] ],
|
||||
"max_intensity": 3,
|
||||
"int_add_val": 1,
|
||||
"int_decay_step": -1,
|
||||
"int_decay_tick": 90,
|
||||
"int_decay_remove": true,
|
||||
"resist_traits": [ "ELFA_NV" ],
|
||||
"base_mods": { "per_mod": [ -3, 0 ] },
|
||||
"scaling_mods": { "per_mod": [ -2, -1 ] }
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "foodpoison",
|
||||
@@ -647,7 +571,7 @@
|
||||
"//": "In formal usage, 'nauseous' technically means 'to cause nausea [in others],' not 'feeling sick.'",
|
||||
"miss_messages": [ [ "Your stomach bothers you.", 1 ] ],
|
||||
"rating": "bad",
|
||||
"resist_traits": [ "POISRESIST", "VOMITSTOMACH" ],
|
||||
"resist_traits": [ "POISRESIST" ],
|
||||
"base_mods": {
|
||||
"per_mod": [ -1 ],
|
||||
"dex_mod": [ -1 ],
|
||||
@@ -699,14 +623,14 @@
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "nausea",
|
||||
"name": [ "Slightly Nauseous", "Mildly Nauseous", "Nauseous", "Very Nauseous", "Extremely Nauseous" ],
|
||||
"desc": [ "You are nauseous and may lead to vomiting." ],
|
||||
"remove_message": "You no longer feel nauseous.",
|
||||
"name": [ "Nausea" ],
|
||||
"desc": [ "You feel nauseated. Even a thought of food makes you feel sick." ],
|
||||
"remove_message": "You no longer feel nauseated.",
|
||||
"rating": "bad",
|
||||
"int_dur_factor": "3 m",
|
||||
"max_intensity": 5,
|
||||
"int_dur_factor": "5 m",
|
||||
"max_intensity": 3,
|
||||
"max_duration": "15 m",
|
||||
"base_mods": { "vomit_chance": [ 500 ] }
|
||||
"base_mods": { "vomit_chance": [ 60 ] }
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
@@ -946,11 +870,9 @@
|
||||
"rating": "bad",
|
||||
"miss_messages": [ [ "The webs restrict your movement.", 4 ] ],
|
||||
"max_intensity": 3,
|
||||
"int_add_val": 1,
|
||||
"base_mods": { "speed_mod": [ -20 ] },
|
||||
"scaling_mods": { "speed_mod": [ -5 ] },
|
||||
"show_in_info": true,
|
||||
"show_intensity": false
|
||||
"show_in_info": true
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
@@ -991,7 +913,7 @@
|
||||
"desc": [ "You have an infected wound." ],
|
||||
"apply_memorial_log": "Contracted an infection.",
|
||||
"remove_memorial_log": "Recovered from an infection… this time.",
|
||||
"apply_message": "Your wound feels infected.",
|
||||
"apply_message": "Your bite wound feels infected.",
|
||||
"resist_traits": [ "INFRESIST" ],
|
||||
"main_parts_only": true,
|
||||
"rating": "bad",
|
||||
@@ -1119,8 +1041,8 @@
|
||||
"apply_memorial_log": "Contracted a fungal infection.",
|
||||
"remove_memorial_log": "Cured the fungal infection.",
|
||||
"miss_messages": [ [ "You feel sick inside.", 1 ] ],
|
||||
"speed_name": "Itchy skin",
|
||||
"remove_message": "The itching in your skin fades away.",
|
||||
"speed_name": "Fungal infection",
|
||||
"remove_message": "Tingling sensation in your skin fades away.",
|
||||
"rating": "bad",
|
||||
"max_intensity": 3,
|
||||
"int_dur_factor": "6 h",
|
||||
@@ -1193,9 +1115,7 @@
|
||||
"name": [ "Shakes" ],
|
||||
"desc": [ "Your hands just won't stop shaking." ],
|
||||
"miss_messages": [ [ "You tremble", 4 ] ],
|
||||
"base_mods": { "str_mod": [ -1 ], "dex_mod": [ -4 ] },
|
||||
"max_duration": 7200,
|
||||
"dur_add_perc": 30
|
||||
"base_mods": { "str_mod": [ -1 ], "dex_mod": [ -4 ] }
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
@@ -1828,7 +1748,6 @@
|
||||
"type": "effect_type",
|
||||
"id": "tapeworm",
|
||||
"rating": "bad",
|
||||
"resist_traits": [ "VOMITSTOMACH" ],
|
||||
"base_mods": { "hunger_chance": [ 50 ], "hunger_min": [ 1 ] },
|
||||
"blood_analysis_description": "Intestinal Parasite"
|
||||
},
|
||||
@@ -1941,11 +1860,6 @@
|
||||
"type": "effect_type",
|
||||
"id": "slept_through_alarm"
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "robofac_surveillance",
|
||||
"max_duration": "14 days"
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"name": [ "Playing an instrument" ],
|
||||
@@ -1988,6 +1902,21 @@
|
||||
"base_mods": { "speed_mod": [ -1000 ], "dex_mod": [ -100 ] },
|
||||
"show_in_info": true
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "hypocalcemia",
|
||||
"name": [ "Hypocalcemia", "Weak bones", "Brittle bones" ],
|
||||
"desc": [ "A lack of calcium in your diet will make your bones progressively weaker." ],
|
||||
"apply_message": "Your bones are becoming more brittle.",
|
||||
"remove_message": "Your bones regain their usual strength.",
|
||||
"decay_messages": [
|
||||
[ "Your calcium deficiency is nearly resolved.", "good" ],
|
||||
[ "Your bones become stronger as your calcium deficiency improves.", "good" ]
|
||||
],
|
||||
"max_intensity": 3,
|
||||
"rating": "bad",
|
||||
"blood_analysis_description": "Hypocalcemia"
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "anemia",
|
||||
@@ -2063,6 +1992,36 @@
|
||||
},
|
||||
"blood_analysis_description": "Anemia"
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "hypovitA",
|
||||
"name": [ "VitA deficiency", "Poor vision", "Night blindness" ],
|
||||
"desc": [ "A lack of vitamin A in your diet will progressively worsen your vision." ],
|
||||
"apply_message": "You start struggling to make out the finer details.",
|
||||
"remove_message": "Your normal visual acuity returns.",
|
||||
"decay_messages": [
|
||||
[ "Your vitamin A deficiency is nearly resolved.", "good" ],
|
||||
[ "Your vision improves as your Vitamin A deficiency improves.", "good" ]
|
||||
],
|
||||
"max_intensity": 3,
|
||||
"rating": "bad",
|
||||
"blood_analysis_description": "Vitamin A Deficiency"
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "hypovitB",
|
||||
"name": [ "B12 deficiency", "Slow healing", "No healing" ],
|
||||
"desc": [ "A lack of vitamin B12 in your diet will affect your ability to heal." ],
|
||||
"apply_message": "Simple wounds are starting to concern you more than usual.",
|
||||
"remove_message": "Your wounds now heal normally.",
|
||||
"decay_messages": [
|
||||
[ "Your vitamin B12 deficiency is starting to resolve.", "good" ],
|
||||
[ "Your ability to heal returns as your Vitamin B12 deficiency improves.", "good" ]
|
||||
],
|
||||
"max_intensity": 3,
|
||||
"rating": "bad",
|
||||
"blood_analysis_description": "Vitamin B Deficiency"
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
"id": "scurvy",
|
||||
@@ -2075,27 +2034,6 @@
|
||||
[ "Your scurvy lessens as your Vitamin C deficiency improves.", "good" ]
|
||||
],
|
||||
"max_intensity": 3,
|
||||
"base_mods": {
|
||||
"pain_max_val": [ 35 ],
|
||||
"pain_chance": [ 900 ],
|
||||
"pain_min": [ 1 ],
|
||||
"pain_max": [ 5 ],
|
||||
"fatigue_chance": [ 900 ],
|
||||
"fatigue_max_val": [ 500, 200 ],
|
||||
"fatigue_min": [ 10 ],
|
||||
"h_mod_min": [ -1 ],
|
||||
"h_mod_min_val": [ 0 ],
|
||||
"h_mod_chance": [ 900 ]
|
||||
},
|
||||
"scaling_mods": {
|
||||
"pain_chance": [ -150 ],
|
||||
"fatigue_chance": [ -200 ],
|
||||
"h_mod_min": [ -1 ],
|
||||
"h_mod_min_val": [ -100 ],
|
||||
"h_mod_chance": [ -300 ],
|
||||
"str_mod": [ -0.5 ],
|
||||
"speed_mod": [ -2 ]
|
||||
},
|
||||
"rating": "bad",
|
||||
"blood_analysis_description": "Scurvy"
|
||||
},
|
||||
@@ -2409,11 +2347,17 @@
|
||||
"desc": [ "AI effect to increase stats after fusing with another critter. 1 stack means one absorbed max_hp." ],
|
||||
"//": "stats modified by the zombie_fuse special attack.",
|
||||
"//1": "scaling:",
|
||||
"//2": "/50 HP: +0,5 melee_skill, +0,5 dodge_skill (unexpected movement), +5 Speed (bigger steps&more to attack with), +4 bash",
|
||||
"//3": "/250 HP: +1 size",
|
||||
"max_intensity": 500,
|
||||
"base_mods": { "hit_mod": [ 0.01 ], "dodge_mod": [ 0.01 ], "speed_mod": [ 0.1 ], "bash_mod": [ 0.08 ] },
|
||||
"scaling_mods": { "hit_mod": [ 0.01 ], "dodge_mod": [ 0.01 ], "speed_mod": [ 0.1 ], "bash_mod": [ 0.08 ], "size_mod": [ 0.004 ] },
|
||||
"//2": "/48 HP: +0,5 melee_skill, +0,5 dodge_skill (unexpected movement), +5 Speed (bigger steps&more to attack with), +4 bash",
|
||||
"//3": "/160 HP: +1 size",
|
||||
"max_intensity": 480,
|
||||
"base_mods": { "hit_mod": [ 0.0104 ], "dodge_mod": [ 0.0104 ], "speed_mod": [ 0.1042 ], "bash_mod": [ 0.08333 ] },
|
||||
"scaling_mods": {
|
||||
"hit_mod": [ 0.0104 ],
|
||||
"dodge_mod": [ 0.0104 ],
|
||||
"speed_mod": [ 0.1042 ],
|
||||
"bash_mod": [ 0.08333 ],
|
||||
"size_mod": [ 0.00625 ]
|
||||
},
|
||||
"int_decay_step": 0
|
||||
},
|
||||
{
|
||||
|
||||
@@ -192,13 +192,6 @@
|
||||
"intensity": 3,
|
||||
"qty": 50
|
||||
},
|
||||
{
|
||||
"id": "emit_pollen_stream",
|
||||
"type": "emit",
|
||||
"field": "fd_pollen_triffid",
|
||||
"intensity": 2,
|
||||
"qty": 24
|
||||
},
|
||||
{
|
||||
"id": "emit_hot_air2_blast",
|
||||
"type": "emit",
|
||||
@@ -375,21 +368,5 @@
|
||||
"field": "fd_nuke_gas",
|
||||
"intensity": 3,
|
||||
"qty": 100
|
||||
},
|
||||
{
|
||||
"id": "emit_web_small",
|
||||
"type": "emit",
|
||||
"//": "Occasionally leave a web, not too often because we spawn in mixed groups",
|
||||
"field": "fd_web",
|
||||
"intensity": 3,
|
||||
"chance": 50
|
||||
},
|
||||
{
|
||||
"id": "emit_sludge_puddle",
|
||||
"type": "emit",
|
||||
"//": "Infrequent emission of sludge along the ground, made because sludge trail is too frequent",
|
||||
"field": "fd_sludge",
|
||||
"intensity": 3,
|
||||
"chance": 20
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
[
|
||||
{
|
||||
"type": "enchantment",
|
||||
"id": "ENCH_DEBUG_TAIL",
|
||||
"condition": "ALWAYS",
|
||||
"modified_bodyparts": [ { "gain": "debug_tail" } ]
|
||||
},
|
||||
{
|
||||
"type": "enchantment",
|
||||
"id": "ENCH_DEBUG_ONLY_HEAD",
|
||||
"condition": "ALWAYS",
|
||||
"modified_bodyparts": [
|
||||
{ "lose": "torso" },
|
||||
{ "lose": "arm_l" },
|
||||
{ "lose": "arm_r" },
|
||||
{ "lose": "leg_l" },
|
||||
{ "lose": "leg_r" },
|
||||
{ "lose": "foot_r" },
|
||||
{ "lose": "foot_l" },
|
||||
{ "lose": "hand_l" },
|
||||
{ "lose": "hand_r" }
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -94,7 +94,7 @@
|
||||
],
|
||||
"description_affix": "covered_in",
|
||||
"immunity_data": { "traits": [ "WEB_WALKER" ] },
|
||||
"immune_mtypes": [ "mon_spider_web", "mon_spider_web_s", "mon_mutant_arthropod" ],
|
||||
"immune_mtypes": [ "mon_spider_web", "mon_spider_web_s" ],
|
||||
"decrease_intensity_on_contact": true,
|
||||
"priority": 2,
|
||||
"phase": "solid",
|
||||
@@ -241,7 +241,6 @@
|
||||
"half_life": "30 minutes",
|
||||
"phase": "liquid",
|
||||
"display_field": true,
|
||||
"immunity_data": { "traits": [ "GASTROPOD_FOOT" ] },
|
||||
"looks_like": "fd_sap"
|
||||
},
|
||||
{
|
||||
@@ -370,22 +369,6 @@
|
||||
"looks_like": "f_rubble",
|
||||
"legacy_make_rubble": true
|
||||
},
|
||||
{
|
||||
"id": "fd_biolum",
|
||||
"type": "field_type",
|
||||
"intensity_levels": [
|
||||
{ "name": "glimmer", "sym": "6", "color": "cyan", "light_emitted": 4 },
|
||||
{ "name": "glow", "color": "cyan", "light_emitted": 9 },
|
||||
{ "name": "shine", "color": "blue", "light_emitted": 20 }
|
||||
],
|
||||
"description_affix": "illuminated_by",
|
||||
"has_elec": true,
|
||||
"priority": 4,
|
||||
"half_life": "6 turns",
|
||||
"phase": "plasma",
|
||||
"display_items": false,
|
||||
"display_field": true
|
||||
},
|
||||
{
|
||||
"id": "fd_smoke",
|
||||
"type": "field_type",
|
||||
@@ -540,62 +523,6 @@
|
||||
"display_field": true,
|
||||
"looks_like": "fd_nuke_gas"
|
||||
},
|
||||
{
|
||||
"id": "fd_pollen_triffid",
|
||||
"type": "field_type",
|
||||
"legacy_enum_id": 51,
|
||||
"intensity_levels": [
|
||||
{
|
||||
"name": "hazy cloud",
|
||||
"sym": "8",
|
||||
"dangerous": true,
|
||||
"translucency": 1,
|
||||
"effects": [
|
||||
{
|
||||
"effect_id": "tpollen",
|
||||
"body_part": "mouth",
|
||||
"intensity": 2,
|
||||
"min_duration": "2 minutes",
|
||||
"max_duration": "2 minutes",
|
||||
"immune_inside_vehicle": true,
|
||||
"message": "You feel sick from inhaling the hazy cloud.",
|
||||
"message_type": "bad"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "triffid pollen",
|
||||
"color": "light_green",
|
||||
"transparent": false,
|
||||
"translucency": 10,
|
||||
"effects": [
|
||||
{
|
||||
"effect_id": "tpollen",
|
||||
"body_part": "mouth",
|
||||
"intensity": 5,
|
||||
"min_duration": "3 minutes",
|
||||
"max_duration": "3 minutes",
|
||||
"immune_inside_vehicle": true,
|
||||
"message": "You feel sick from inhaling the triffid pollen.",
|
||||
"message_type": "bad"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"decay_amount_factor": 5,
|
||||
"gas_absorption_factor": 15,
|
||||
"percent_spread": 30,
|
||||
"outdoor_age_speedup": "3 minutes",
|
||||
"dirty_transparency_cache": true,
|
||||
"has_fume": true,
|
||||
"immunity_data": { "body_part_env_resistance": [ [ "mouth", 15 ] ] },
|
||||
"priority": 8,
|
||||
"half_life": "10 minutes",
|
||||
"phase": "gas",
|
||||
"display_items": false,
|
||||
"display_field": true,
|
||||
"looks_like": "fd_nuke_gas"
|
||||
},
|
||||
{
|
||||
"id": "fd_tear_gas",
|
||||
"type": "field_type",
|
||||
@@ -776,7 +703,7 @@
|
||||
],
|
||||
"description_affix": "under",
|
||||
"priority": 8,
|
||||
"display_items": true,
|
||||
"display_items": false,
|
||||
"display_field": true,
|
||||
"looks_like": "fd_smoke"
|
||||
},
|
||||
|
||||
+566
-354
File diff suppressed because it is too large
Load Diff
@@ -1,10 +1,12 @@
|
||||
[
|
||||
{
|
||||
"type": "json_flag",
|
||||
"id": "SONAR_DETECTABLE"
|
||||
"id": "SONAR_DETECTABLE",
|
||||
"context": [ ]
|
||||
},
|
||||
{
|
||||
"type": "json_flag",
|
||||
"id": "CONVECTS_TEMPERATURE"
|
||||
"id": "CONVECTS_TEMPERATURE",
|
||||
"context": [ ]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -187,7 +187,7 @@
|
||||
{ "item": "exodii_module", "count": [ 0, 1 ] },
|
||||
{ "item": "exodii_motor", "count": [ 0, 1 ] },
|
||||
{ "item": "cable", "charges": [ 0, 2 ] },
|
||||
{ "item": "scrap_copper", "count": [ 2, 12 ] }
|
||||
{ "item": "scrap_copper", "count": [ 2, 10 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -216,7 +216,7 @@
|
||||
{ "item": "sheet_metal_small", "count": [ 20, 30 ] },
|
||||
{ "item": "exodii_chassis", "count": [ 0, 1 ] },
|
||||
{ "item": "exodii_drone_chassis", "count": [ 0, 1 ] },
|
||||
{ "item": "scrap_copper", "count": [ 6, 25 ] },
|
||||
{ "item": "scrap_copper", "count": [ 5, 20 ] },
|
||||
{ "item": "e_scrap", "count": [ 5, 20 ] }
|
||||
]
|
||||
}
|
||||
@@ -241,7 +241,7 @@
|
||||
{ "item": "scrap", "count": [ 8, 12 ] },
|
||||
{ "item": "pipe", "count": [ 0, 3 ] },
|
||||
{ "item": "sheet_metal_small", "count": [ 2, 10 ] },
|
||||
{ "item": "scrap_copper", "count": [ 2, 12 ] },
|
||||
{ "item": "scrap_copper", "count": [ 2, 10 ] },
|
||||
{ "item": "exodii_computer", "count": [ 0, 1 ] },
|
||||
{ "item": "exodii_motor", "count": [ 0, 1 ] },
|
||||
{ "item": "cable", "charges": [ 0, 3 ] },
|
||||
@@ -260,7 +260,7 @@
|
||||
"move_cost_mod": 3,
|
||||
"coverage": 30,
|
||||
"required_str": 6,
|
||||
"light_emitted": 90,
|
||||
"light_emitted": 20,
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "BLOCKSDOOR" ],
|
||||
"bash": {
|
||||
"str_min": 20,
|
||||
@@ -270,7 +270,7 @@
|
||||
{ "item": "scrap", "count": [ 8, 12 ] },
|
||||
{ "item": "pipe", "count": [ 0, 3 ] },
|
||||
{ "item": "sheet_metal_small", "count": [ 2, 10 ] },
|
||||
{ "item": "scrap_copper", "count": [ 2, 12 ] },
|
||||
{ "item": "scrap_copper", "count": [ 2, 10 ] },
|
||||
{ "item": "amplifier", "count": [ 0, 5 ] },
|
||||
{ "item": "power_supply", "count": [ 0, 1 ] },
|
||||
{ "item": "cable", "charges": [ 0, 5 ] }
|
||||
@@ -298,7 +298,7 @@
|
||||
{ "item": "pipe", "count": [ 2, 4 ] },
|
||||
{ "item": "55gal_drum", "count": [ 0, 1 ] },
|
||||
{ "item": "sheet_metal_small", "count": [ 2, 10 ] },
|
||||
{ "item": "scrap_copper", "count": [ 5, 12 ] },
|
||||
{ "item": "scrap_copper", "count": [ 5, 10 ] },
|
||||
{ "item": "exodii_module", "count": [ 0, 1 ] },
|
||||
{ "item": "exodii_motor", "count": [ 0, 2 ] },
|
||||
{ "item": "pipe_fittings", "count": [ 2, 6 ] }
|
||||
@@ -325,7 +325,7 @@
|
||||
{ "item": "scrap", "count": [ 20, 120 ] },
|
||||
{ "item": "pipe", "count": [ 20, 40 ] },
|
||||
{ "item": "sheet_metal_small", "count": [ 20, 100 ] },
|
||||
{ "item": "scrap_copper", "count": [ 62, 124 ] },
|
||||
{ "item": "scrap_copper", "count": [ 50, 100 ] },
|
||||
{ "item": "pipe_fittings", "count": [ 2, 6 ] },
|
||||
{ "item": "exodii_module", "count": [ 0, 6 ] },
|
||||
{ "item": "exodii_motor", "count": [ 0, 8 ] },
|
||||
@@ -354,7 +354,7 @@
|
||||
{ "item": "pipe", "count": [ 10, 20 ] },
|
||||
{ "item": "pipe_fittings", "count": [ 2, 4 ] },
|
||||
{ "item": "sheet_metal_small", "count": [ 10, 30 ] },
|
||||
{ "item": "scrap_copper", "count": [ 25, 62 ] },
|
||||
{ "item": "scrap_copper", "count": [ 20, 40 ] },
|
||||
{ "item": "e_scrap", "count": [ 20, 40 ] },
|
||||
{ "item": "exodii_module", "count": [ 0, 5 ] },
|
||||
{ "item": "exodii_motor", "count": [ 0, 6 ] },
|
||||
@@ -385,7 +385,7 @@
|
||||
{ "item": "plutonium", "charges": [ 0, 3 ] },
|
||||
{ "item": "lead", "charges": [ 12, 18 ] },
|
||||
{ "item": "sheet_metal_small", "count": [ 10, 30 ] },
|
||||
{ "item": "scrap_copper", "count": [ 25, 50 ] },
|
||||
{ "item": "scrap_copper", "count": [ 20, 40 ] },
|
||||
{ "item": "e_scrap", "count": [ 20, 40 ] },
|
||||
{ "item": "circuit", "count": [ 6, 10 ] },
|
||||
{ "item": "power_supply", "count": [ 4, 8 ] },
|
||||
@@ -419,7 +419,7 @@
|
||||
{ "item": "plutonium", "charges": [ 0, 3 ] },
|
||||
{ "item": "lead", "charges": [ 12, 18 ] },
|
||||
{ "item": "sheet_metal_small", "count": [ 10, 30 ] },
|
||||
{ "item": "scrap_copper", "count": [ 25, 50 ] },
|
||||
{ "item": "scrap_copper", "count": [ 20, 40 ] },
|
||||
{ "item": "e_scrap", "count": [ 20, 40 ] },
|
||||
{ "item": "circuit", "count": [ 6, 10 ] },
|
||||
{ "item": "power_supply", "count": [ 4, 8 ] },
|
||||
@@ -455,7 +455,7 @@
|
||||
{ "item": "plutonium", "charges": [ 0, 3 ] },
|
||||
{ "item": "lead", "charges": [ 12, 18 ] },
|
||||
{ "item": "sheet_metal_small", "count": [ 10, 30 ] },
|
||||
{ "item": "scrap_copper", "count": [ 12, 37 ] },
|
||||
{ "item": "scrap_copper", "count": [ 10, 30 ] },
|
||||
{ "item": "e_scrap", "count": [ 10, 20 ] },
|
||||
{ "item": "circuit", "count": [ 2, 5 ] },
|
||||
{ "item": "power_supply", "count": [ 4, 8 ] },
|
||||
@@ -489,7 +489,7 @@
|
||||
{ "item": "plutonium", "charges": [ 0, 3 ] },
|
||||
{ "item": "lead", "charges": [ 12, 18 ] },
|
||||
{ "item": "sheet_metal_small", "count": [ 10, 30 ] },
|
||||
{ "item": "scrap_copper", "count": [ 12, 37 ] },
|
||||
{ "item": "scrap_copper", "count": [ 10, 30 ] },
|
||||
{ "item": "e_scrap", "count": [ 15, 30 ] },
|
||||
{ "item": "circuit", "count": [ 2, 5 ] },
|
||||
{ "item": "power_supply", "count": [ 2, 8 ] },
|
||||
@@ -621,18 +621,5 @@
|
||||
{ "item": "exodii_computer", "count": [ 0, 1 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_crystalline_flower",
|
||||
"name": "crystalline flower",
|
||||
"description": "A crystalline structure that resembles a plant.",
|
||||
"symbol": "f",
|
||||
"color": "light_green",
|
||||
"move_cost_mod": 0,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE" ],
|
||||
"//": "decorative flora for breather biome.",
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "crunch.", "sound_fail": "whish." }
|
||||
}
|
||||
]
|
||||
|
||||
@@ -316,9 +316,22 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 60,
|
||||
"required_str": 12,
|
||||
"max_volume": "125 L",
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "FLAT_SURF", "MINEABLE", "EASY_DECONSTRUCT" ],
|
||||
"deconstruct": { "items": [ { "item": "household_washing_machine", "count": 1 } ] },
|
||||
"max_volume": "30 L",
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "FLAT_SURF", "MINEABLE" ],
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "pipe", "count": 1 },
|
||||
{ "item": "scrap", "count": [ 2, 6 ] },
|
||||
{ "item": "steel_chunk", "count": [ 1, 3 ] },
|
||||
{ "item": "sheet_metal_small", "count": [ 0, 4 ] },
|
||||
{ "item": "sheet_metal", "count": [ 2, 6 ] },
|
||||
{ "item": "cable", "charges": [ 1, 15 ] },
|
||||
{ "item": "hose", "count": [ 1, 2 ] },
|
||||
{ "item": "pipe_fittings", "count": [ 2, 6 ] },
|
||||
{ "item": "motor_small", "count": 1 },
|
||||
{ "item": "cu_pipe", "count": [ 2, 5 ] }
|
||||
]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 18,
|
||||
"str_max": 50,
|
||||
@@ -342,7 +355,7 @@
|
||||
"id": "f_oven",
|
||||
"name": "oven",
|
||||
"symbol": "#",
|
||||
"description": "A standard convection-based oven, commonly used for heating and cooking food. You could safely light a fire inside or power it with UPS.",
|
||||
"description": "A standard convection-based oven, commonly used for heating and cooking food. Despite it no longer working, you could safely light a fire inside.",
|
||||
"color": "dark_gray",
|
||||
"move_cost_mod": 2,
|
||||
"coverage": 60,
|
||||
@@ -581,7 +594,7 @@
|
||||
"color": "yellow",
|
||||
"move_cost_mod": 2,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT" ],
|
||||
"flags": [ "TRANSPARENT", "BASHABLE" ],
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "scrap", "count": [ 4, 6 ] },
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
"coverage": 80,
|
||||
"required_str": 5,
|
||||
"flags": [ "NOITEM", "BLOCKSDOOR" ],
|
||||
"examine_action": "change_appearance",
|
||||
"bash": {
|
||||
"str_min": 5,
|
||||
"str_max": 16,
|
||||
@@ -126,8 +125,7 @@
|
||||
"move_cost_mod": 2,
|
||||
"coverage": 40,
|
||||
"required_str": 5,
|
||||
"flags": [ "PLACE_ITEM", "TRANSPARENT", "FLAMMABLE", "EASY_DECONSTRUCT" ],
|
||||
"deconstruct": { "items": [ { "item": "mannequin", "count": 1 } ] },
|
||||
"flags": [ "PLACE_ITEM", "TRANSPARENT", "FLAMMABLE" ],
|
||||
"bash": {
|
||||
"str_min": 6,
|
||||
"str_max": 40,
|
||||
@@ -185,7 +183,7 @@
|
||||
"color": "white",
|
||||
"move_cost_mod": -2,
|
||||
"required_str": 10,
|
||||
"flags": [ "TRANSPARENT", "BLOCKSDOOR", "PLACE_ITEM" ],
|
||||
"flags": [ "TRANSPARENT", "BLOCKSDOOR", "BASHABLE", "PLACE_ITEM" ],
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "pipe", "count": 6 },
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
"move_cost_mod": 0,
|
||||
"required_str": -1,
|
||||
"flags": [ "PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM", "TINY", "DONT_REMOVE_ROTTEN", "GROWTH_HARVEST" ],
|
||||
"examine_action": "harvest_plant",
|
||||
"examine_action": "aggie_plant",
|
||||
"bash": { "str_min": 4, "str_max": 10, "sound": "crunch.", "sound_fail": "whish." },
|
||||
"plant_data": { "transform": "f_null", "base": "f_null" }
|
||||
},
|
||||
@@ -108,7 +108,7 @@
|
||||
"color": "brown",
|
||||
"move_cost_mod": 0,
|
||||
"required_str": -1,
|
||||
"flags": [ "PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM", "TINY", "DONT_REMOVE_ROTTEN" ],
|
||||
"flags": [ "PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM", "TINY", "DONT_REMOVE_ROTTEN", "GROWTH_SEED" ],
|
||||
"examine_action": "aggie_plant",
|
||||
"bash": { "str_min": 1, "str_max": 5, "sound": "crunch.", "sound_fail": "whish." },
|
||||
"plant_data": { "transform": "f_plant_seedling", "base": "f_null" }
|
||||
@@ -172,7 +172,7 @@
|
||||
"move_cost_mod": 0,
|
||||
"required_str": -1,
|
||||
"flags": [ "PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM", "TINY", "DONT_REMOVE_ROTTEN", "GROWTH_HARVEST" ],
|
||||
"examine_action": "harvest_plant",
|
||||
"examine_action": "aggie_plant",
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "2x4", "count": [ 11, 12 ] },
|
||||
@@ -239,7 +239,7 @@
|
||||
"looks_like": "f_plant_seed",
|
||||
"move_cost_mod": 1,
|
||||
"required_str": -1,
|
||||
"flags": [ "PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM", "TINY", "DONT_REMOVE_ROTTEN" ],
|
||||
"flags": [ "PLANT", "SEALED", "TRANSPARENT", "CONTAINER", "NOITEM", "TINY", "DONT_REMOVE_ROTTEN", "GROWTH_SEED" ],
|
||||
"examine_action": "aggie_plant",
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
|
||||
@@ -28,110 +28,5 @@
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT" ],
|
||||
"emissions": [ "emit_fog_plume" ]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_vent_cold_air2_stream",
|
||||
"name": "metal grate",
|
||||
"description": "This is a metal vent, you can feel cool air seeping out of it.",
|
||||
"looks_like": "t_grate",
|
||||
"symbol": "~",
|
||||
"color": "blue",
|
||||
"move_cost_mod": 0,
|
||||
"coverage": 0,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT" ],
|
||||
"emissions": [ "emit_cold_air2_stream" ]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_vent_cold_air2_blast",
|
||||
"description": "This is a metal vent, you can feel cold air blasting out of it.",
|
||||
"copy-from": "f_vent_cold_air2_stream",
|
||||
"symbol": "~",
|
||||
"color": "blue",
|
||||
"emissions": [ "emit_cold_air2_blast" ]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_vent_hot_air2_stream",
|
||||
"description": "This is a metal vent, you can feel hot air seeping out of it.",
|
||||
"copy-from": "f_vent_cold_air2_stream",
|
||||
"symbol": "~",
|
||||
"color": "red",
|
||||
"emissions": [ "emit_hot_air2_stream" ]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_vent_hot_air2_blast",
|
||||
"copy-from": "f_vent_cold_air2_stream",
|
||||
"description": "This is a metal vent, you can feel hot air seeping out of it.",
|
||||
"symbol": "~",
|
||||
"color": "red",
|
||||
"emissions": [ "emit_hot_air2_blast" ]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_vent_smoke_plume",
|
||||
"description": "This is a metal vent, you can see smoke seeping from it.",
|
||||
"copy-from": "f_vent_cold_air2_stream",
|
||||
"symbol": "~",
|
||||
"color": "white",
|
||||
"emissions": [ "emit_smoke_plume" ]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_vent_smoke_stream",
|
||||
"description": "This is a metal vent, you can see smoke streaming out of it.",
|
||||
"copy-from": "f_vent_cold_air2_stream",
|
||||
"symbol": "~",
|
||||
"color": "white",
|
||||
"emissions": [ "emit_smoke_stream" ]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_vent_toxic_leak",
|
||||
"description": "This is a metal vent, toxic looking clouds seep from it.",
|
||||
"copy-from": "f_vent_cold_air2_stream",
|
||||
"symbol": "~",
|
||||
"color": "green",
|
||||
"emissions": [ "emit_toxic_leak" ]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_vent_toxic_belch",
|
||||
"description": "This is a metal vent, toxic looking clouds emerge from it.",
|
||||
"copy-from": "f_vent_cold_air2_stream",
|
||||
"symbol": "~",
|
||||
"color": "green",
|
||||
"emissions": [ "emit_toxic_belch" ]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_vent_rad_leak",
|
||||
"description": "This is a metal vent.",
|
||||
"copy-from": "f_vent_cold_air2_stream",
|
||||
"symbol": "~",
|
||||
"color": "green",
|
||||
"emissions": [ "emit_rad_leak" ]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_vent_rad_cloud",
|
||||
"description": "This is a metal vent.",
|
||||
"copy-from": "f_vent_cold_air2_stream",
|
||||
"symbol": "~",
|
||||
"color": "green",
|
||||
"emissions": [ "emit_rad_cloud" ]
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_fog_breather",
|
||||
"description": "This is misty water vapor.",
|
||||
"copy-from": "f_fog",
|
||||
"looks_like": "t_gelatinous_groundcover",
|
||||
"symbol": "~",
|
||||
"color": "pink",
|
||||
"emissions": [ "emit_fog_plume" ]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -66,32 +66,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_hobo_stove",
|
||||
"name": "hobo stove",
|
||||
"description": "This is a small improvised wood stove, made from a metal can. It's too small to fit anything much larger than splintered wood.",
|
||||
"symbol": "#",
|
||||
"color": "red",
|
||||
"move_cost_mod": 2,
|
||||
"coverage": 35,
|
||||
"required_str": 4,
|
||||
"flags": [ "PLACE_ITEM", "TRANSPARENT", "FIRE_CONTAINER", "EASY_DECONSTRUCT" ],
|
||||
"deployed_item": "hobo_stove",
|
||||
"examine_action": "fireplace",
|
||||
"max_volume": "680 ml",
|
||||
"bash": {
|
||||
"str_min": 8,
|
||||
"str_max": 30,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
"items": [
|
||||
{ "item": "scrap", "count": [ 2, 4 ] },
|
||||
{ "item": "steel_chunk", "count": [ 1, 2 ] },
|
||||
{ "item": "sheet_metal_small", "count": [ 1, 2 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_55gal_firebarrel",
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"color": "cyan",
|
||||
"move_cost_mod": 1,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "FUNGUS", "TINY", "NOCOLLIDE" ],
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "FUNGUS", "TINY", "NOCOLLIDE" ],
|
||||
"examine_action": "flower_marloss",
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "poof.", "sound_fail": "poof." }
|
||||
},
|
||||
@@ -21,7 +21,7 @@
|
||||
"color": "dark_gray",
|
||||
"move_cost_mod": 1,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "FLOWER", "FUNGUS", "TINY", "NOCOLLIDE" ],
|
||||
"flags": [ "TRANSPARENT", "FLOWER", "FUNGUS", "TINY", "FLAMMABLE_ASH", "NOCOLLIDE" ],
|
||||
"examine_action": "fungus",
|
||||
"bash": { "str_min": 2, "str_max": 6, "sound": "poof.", "sound_fail": "poof." }
|
||||
},
|
||||
@@ -34,7 +34,7 @@
|
||||
"bgcolor": "dark_gray",
|
||||
"move_cost_mod": -10,
|
||||
"required_str": -1,
|
||||
"flags": [ "CONTAINER", "SEALED", "ALLOW_FIELD_EFFECT", "FUNGUS", "MOUNTABLE", "SHORT" ],
|
||||
"flags": [ "CONTAINER", "SEALED", "ALLOW_FIELD_EFFECT", "FLAMMABLE_ASH", "FUNGUS", "MOUNTABLE", "SHORT" ],
|
||||
"bash": { "str_min": 6, "str_max": 30, "sound": "poof.", "sound_fail": "poof." }
|
||||
},
|
||||
{
|
||||
@@ -46,7 +46,7 @@
|
||||
"bgcolor": "light_gray",
|
||||
"move_cost_mod": 3,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "SEALED", "ALLOW_FIELD_EFFECT", "FUNGUS", "MOUNTABLE", "SHORT" ],
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "SEALED", "ALLOW_FIELD_EFFECT", "FLAMMABLE_ASH", "FUNGUS", "MOUNTABLE", "SHORT" ],
|
||||
"bash": { "str_min": 6, "str_max": 20, "sound": "poof.", "sound_fail": "poof." }
|
||||
},
|
||||
{
|
||||
@@ -59,7 +59,7 @@
|
||||
"bgcolor": "light_gray",
|
||||
"move_cost_mod": -1,
|
||||
"required_str": -1,
|
||||
"flags": [ "FUNGUS" ],
|
||||
"flags": [ "FLAMMABLE_ASH", "FUNGUS" ],
|
||||
"bash": { "str_min": 26, "str_max": 50, "sound": "poof.", "sound_fail": "squelch." }
|
||||
}
|
||||
]
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 30,
|
||||
"required_str": 16,
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "REDUCE_SCENT", "MOUNTABLE", "PERMEABLE", "BLOCKSDOOR" ],
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "REDUCE_SCENT", "MOUNTABLE", "PERMEABLE", "BLOCKS_DOOR" ],
|
||||
"bash": {
|
||||
"str_min": 20,
|
||||
"str_max": 150,
|
||||
@@ -210,7 +210,7 @@
|
||||
"move_cost_mod": 10,
|
||||
"coverage": 65,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "FLAMMABLE", "PLACE_ITEM" ],
|
||||
"flags": [ "TRANSPARENT", "BASHABLE", "CONTAINER", "FLAMMABLE", "PLACE_ITEM" ],
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "wire", "count": [ 1, 3 ] },
|
||||
@@ -254,7 +254,7 @@
|
||||
"move_cost_mod": 10,
|
||||
"coverage": 75,
|
||||
"required_str": -1,
|
||||
"flags": [ "CONTAINER", "SEALED", "PLACE_ITEM" ],
|
||||
"flags": [ "BASHABLE", "CONTAINER", "SEALED", "PLACE_ITEM" ],
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "wire", "count": [ 1, 3 ] },
|
||||
@@ -305,7 +305,7 @@
|
||||
"move_cost_mod": 4,
|
||||
"coverage": 55,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "FLAMMABLE", "PLACE_ITEM" ],
|
||||
"flags": [ "TRANSPARENT", "BASHABLE", "CONTAINER", "FLAMMABLE", "PLACE_ITEM" ],
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "wire", "count": 1 },
|
||||
@@ -354,7 +354,7 @@
|
||||
"move_cost_mod": 8,
|
||||
"coverage": 55,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "SEALED", "FLAMMABLE", "PLACE_ITEM" ],
|
||||
"flags": [ "TRANSPARENT", "BASHABLE", "CONTAINER", "SEALED", "FLAMMABLE", "PLACE_ITEM" ],
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "wire", "count": [ 1, 3 ] },
|
||||
@@ -457,41 +457,10 @@
|
||||
"str_max": 100,
|
||||
"sound": "shred!",
|
||||
"sound_fail": "thud!",
|
||||
"items": [ { "item": "scrap_copper", "count": [ 1, 5 ] }, { "item": "cable", "charges": [ 1, 4 ] } ]
|
||||
"items": [ { "item": "scrap_copper", "count": [ 1, 4 ] }, { "item": "cable", "charges": [ 1, 4 ] } ]
|
||||
},
|
||||
"deconstruct": { "items": [ { "item": "cable", "charges": [ 3, 4 ] } ] }
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_electrical_conduit",
|
||||
"name": "electrical conduit",
|
||||
"looks_like": "t_sewer_pipe",
|
||||
"description": "A thick bundle of electrical wiring protected by a metal conduit.",
|
||||
"symbol": "|",
|
||||
"color": "light_gray",
|
||||
"move_cost_mod": 1,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "NOCOLLIDE" ],
|
||||
"bash": {
|
||||
"str_min": 10,
|
||||
"str_max": 100,
|
||||
"sound": "smash!",
|
||||
"sound_fail": "thunk!",
|
||||
"items": [
|
||||
{ "item": "scrap", "count": [ 1, 4 ] },
|
||||
{ "item": "scrap_copper", "count": [ 10, 20 ] },
|
||||
{ "item": "cable", "charges": [ 20, 100 ] },
|
||||
{ "item": "pipe", "count": [ 1, 2 ] }
|
||||
]
|
||||
},
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "cable", "charges": [ 200, 800 ] },
|
||||
{ "item": "pipe_fittings", "count": [ 1, 2 ] },
|
||||
{ "item": "pipe", "count": [ 2, 4 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_capacitor",
|
||||
@@ -533,7 +502,7 @@
|
||||
"move_cost_mod": 8,
|
||||
"coverage": 55,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE", "PLACE_ITEM" ],
|
||||
"flags": [ "TRANSPARENT", "BASHABLE", "FLAMMABLE", "PLACE_ITEM" ],
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "wire", "count": [ 1, 3 ] },
|
||||
|
||||
@@ -230,7 +230,7 @@
|
||||
{ "item": "pipe", "count": [ 6, 12 ] },
|
||||
{ "item": "cu_pipe", "count": [ 1, 4 ] },
|
||||
{ "item": "cable", "charges": [ 1, 4 ] },
|
||||
{ "item": "epoxy_chunk", "count": [ 50, 75 ] },
|
||||
{ "item": "plastic_chunk", "count": [ 50, 75 ] },
|
||||
{ "item": "sheet_metal", "count": [ 1, 2 ] },
|
||||
{ "item": "sheet_metal_small", "count": [ 0, 4 ] }
|
||||
]
|
||||
@@ -245,7 +245,7 @@
|
||||
{ "item": "scrap", "count": [ 2, 8 ] },
|
||||
{ "item": "steel_chunk", "count": [ 2, 4 ] },
|
||||
{ "item": "sheet_metal_small", "count": [ 6, 10 ] },
|
||||
{ "item": "epoxy_chunk", "count": [ 30, 50 ] },
|
||||
{ "item": "plastic_chunk", "count": [ 30, 50 ] },
|
||||
{ "item": "pipe", "count": 1 },
|
||||
{ "item": "cable", "charges": [ 1, 3 ] },
|
||||
{ "item": "cu_pipe", "count": 1 }
|
||||
@@ -735,8 +735,8 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 40,
|
||||
"required_str": 6,
|
||||
"flags": [ "BLOCKSDOOR" ],
|
||||
"looks_like": "f_ventilator",
|
||||
"flags": [ "BLOCKS_DOOR" ],
|
||||
"looks_like": "f_standing_tank",
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "glass_tube_small", "count": [ 6, 12 ] },
|
||||
@@ -781,7 +781,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 50,
|
||||
"required_str": 5,
|
||||
"flags": [ "BLOCKSDOOR" ],
|
||||
"flags": [ "BLOCKS_DOOR" ],
|
||||
"looks_like": "f_standing_tank",
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
@@ -825,7 +825,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 35,
|
||||
"required_str": 4,
|
||||
"flags": [ "BLOCKSDOOR" ],
|
||||
"flags": [ "BLOCKS_DOOR" ],
|
||||
"looks_like": "f_standing_tank",
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
"type": "furniture",
|
||||
"id": "f_toilet",
|
||||
"name": "toilet",
|
||||
"symbol": "o",
|
||||
"symbol": "&",
|
||||
"color": "white",
|
||||
"description": "An invaluable fixture in any home, it would be a miracle to have one that works. The standing tank may hold a moderate amount of water, but while better than anything that would be in the bowl, it would not be the cleanest.",
|
||||
"move_cost_mod": 2,
|
||||
@@ -109,10 +109,25 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 55,
|
||||
"required_str": -1,
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "LIQUIDCONT", "NOITEM", "SEALED", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "LIQUIDCONT", "NOITEM", "SEALED" ],
|
||||
"examine_action": "keg",
|
||||
"keg_capacity": 240,
|
||||
"deconstruct": { "items": [ { "item": "household_water_heater", "count": 1 } ] },
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "pipe", "count": 1 },
|
||||
{ "item": "scrap", "count": [ 2, 6 ] },
|
||||
{ "item": "steel_chunk", "count": [ 1, 3 ] },
|
||||
{ "item": "sheet_metal", "count": [ 2, 6 ] },
|
||||
{ "item": "cable", "charges": [ 1, 15 ] },
|
||||
{ "item": "cu_pipe", "count": [ 2, 5 ] },
|
||||
{ "item": "hose", "count": [ 0, 2 ] },
|
||||
{ "item": "pilot_light", "count": 1 },
|
||||
{ "item": "thermostat", "count": 1 },
|
||||
{ "item": "water_faucet", "count": 1 },
|
||||
{ "item": "pipe_fittings", "count": [ 2, 6 ] },
|
||||
{ "item": "metal_tank", "count": 1 }
|
||||
]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 18,
|
||||
"str_max": 50,
|
||||
@@ -135,7 +150,7 @@
|
||||
"id": "f_water_purifier",
|
||||
"looks_like": "f_water_heater",
|
||||
"name": "water purifier",
|
||||
"description": "This device effectively sterilizes water, though without power source, like UPS, it's only good for parts.",
|
||||
"description": "This devices effectively sterilizes water, though without a lot of power and proper plumbing, it's only good for parts now.",
|
||||
"symbol": "W",
|
||||
"bgcolor": "blue",
|
||||
"move_cost_mod": -1,
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
"coverage": 35,
|
||||
"required_str": 8,
|
||||
"flags": [ "TRANSPARENT", "MINEABLE", "WORKOUT_ARMS" ],
|
||||
"crafting_pseudo_item": "pseudo_exercise_machine",
|
||||
"examine_action": "workout",
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
@@ -264,7 +263,6 @@
|
||||
"required_str": 8,
|
||||
"looks_like": "f_ergometer",
|
||||
"flags": [ "BLOCKSDOOR", "TRANSPARENT", "MOUNTABLE", "WORKOUT_ARMS", "WORKOUT_LEGS" ],
|
||||
"crafting_pseudo_item": "pseudo_ergometer_mechanical",
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "foot_crank", "count": [ 1, 1 ] },
|
||||
@@ -343,7 +341,6 @@
|
||||
"required_str": 12,
|
||||
"looks_like": "f_treadmill",
|
||||
"flags": [ "BLOCKSDOOR", "TRANSPARENT", "MOUNTABLE", "WORKOUT_LEGS" ],
|
||||
"crafting_pseudo_item": "pseudo_treadmill_mechanical",
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "plastic_chunk", "count": [ 10, 14 ] },
|
||||
@@ -378,8 +375,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 65,
|
||||
"required_str": 10,
|
||||
"flags": [ "BLOCKSDOOR", "PLACE_ITEM", "ORGANIC", "WORKOUT_ARMS" ],
|
||||
"crafting_pseudo_item": "pseudo_punching_bag",
|
||||
"flags": [ "BASHABLE", "BLOCKSDOOR", "PLACE_ITEM", "ORGANIC", "WORKOUT_ARMS" ],
|
||||
"examine_action": "workout",
|
||||
"bash": {
|
||||
"str_min": 15,
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"color": "white",
|
||||
"move_cost_mod": -2,
|
||||
"required_str": 10,
|
||||
"flags": [ "TRANSPARENT", "PLACE_ITEM" ],
|
||||
"flags": [ "TRANSPARENT", "PLACE_ITEM", "BASHABLE", "DECONSTRUCT" ],
|
||||
"bash": {
|
||||
"str_min": 6,
|
||||
"str_max": 10,
|
||||
@@ -43,7 +43,7 @@
|
||||
"color": "light_gray",
|
||||
"move_cost_mod": -2,
|
||||
"required_str": 10,
|
||||
"flags": [ "TRANSPARENT", "NOITEM" ],
|
||||
"flags": [ "TRANSPARENT", "BASHABLE", "NOITEM" ],
|
||||
"bash": {
|
||||
"items": [
|
||||
{ "item": "scrap", "count": [ 4, 6 ] },
|
||||
@@ -64,7 +64,7 @@
|
||||
"move_cost_mod": 2,
|
||||
"coverage": 35,
|
||||
"required_str": -1,
|
||||
"flags": [ "MINEABLE" ],
|
||||
"flags": [ "BASHABLE", "MINEABLE" ],
|
||||
"deconstruct": { "items": [ { "item": "sheet_metal", "count": 2 }, { "item": "brick", "count": 30 } ] },
|
||||
"bash": {
|
||||
"str_min": 15,
|
||||
@@ -83,7 +83,7 @@
|
||||
"color": "light_gray",
|
||||
"move_cost_mod": 2,
|
||||
"required_str": 8,
|
||||
"flags": [ "TRANSPARENT" ],
|
||||
"flags": [ "TRANSPARENT", "BASHABLE" ],
|
||||
"deconstruct": {
|
||||
"items": [ { "item": "pipe", "count": 6 }, { "item": "steel_chunk", "count": 2 }, { "item": "cable", "charges": 10 } ]
|
||||
},
|
||||
@@ -109,7 +109,7 @@
|
||||
"move_cost_mod": 2,
|
||||
"coverage": 40,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT" ],
|
||||
"flags": [ "TRANSPARENT", "BASHABLE" ],
|
||||
"deconstruct": { "items": [ { "item": "pipe", "count": 2 }, { "item": "steel_chunk", "count": 2 } ] },
|
||||
"bash": {
|
||||
"str_min": 10,
|
||||
@@ -119,33 +119,6 @@
|
||||
"items": [ { "item": "pipe", "count": [ 1, 2 ] }, { "item": "scrap", "count": [ 1, 3 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_wind_vane",
|
||||
"name": "wind vane",
|
||||
"description": "A metal fin that swivels around a central pivot, indicating the direction of prevailing wind.",
|
||||
"symbol": ">",
|
||||
"color": "dark_gray",
|
||||
"move_cost_mod": 2,
|
||||
"coverage": 10,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT" ],
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "pipe", "count": 1 },
|
||||
{ "item": "pipe_fittings", "count": 1 },
|
||||
{ "item": "wire", "count": 4 },
|
||||
{ "item": "sheet_metal_small", "count": 2 }
|
||||
]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 10,
|
||||
"str_max": 15,
|
||||
"sound": "whack!",
|
||||
"sound_fail": "whump!",
|
||||
"items": [ { "item": "scrap", "count": [ 1, 3 ] }, { "item": "sheet_metal_small", "count": [ 0, 1 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_roof_turbine_vent",
|
||||
@@ -156,7 +129,7 @@
|
||||
"move_cost_mod": 2,
|
||||
"coverage": 40,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT" ],
|
||||
"flags": [ "TRANSPARENT", "BASHABLE" ],
|
||||
"deconstruct": { "items": [ { "item": "sheet_metal_small", "count": 6 }, { "item": "steel_chunk", "count": 2 } ] },
|
||||
"bash": {
|
||||
"str_min": 8,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"name": "bale of hay",
|
||||
"description": "A massive packed-together block of hay, it makes for easy storage of straw for livestock. If your only other option is the floor, it makes a tolerable bed.",
|
||||
"symbol": "#",
|
||||
"bgcolor": "yellow",
|
||||
"bgcolor": "brown",
|
||||
"move_cost_mod": 3,
|
||||
"comfort": 2,
|
||||
"floor_bedding_warmth": 100,
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
"sound": "smash!",
|
||||
"sound_fail": "whump.",
|
||||
"items": [ { "item": "2x4", "count": [ 2, 6 ] }, { "item": "nail", "charges": [ 4, 12 ] }, { "item": "splinter", "count": 1 } ]
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 5, 20 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 15, 45 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
@@ -88,11 +87,6 @@
|
||||
]
|
||||
},
|
||||
"max_volume": "875 L",
|
||||
"prying": {
|
||||
"result": "f_coffin_o",
|
||||
"message": "You wedge open the coffin.",
|
||||
"prying_data": { "difficulty": 5, "prying_level": 2, "noisy": true, "failure": "You pry, but the coffin remains closed." }
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 12,
|
||||
"str_max": 40,
|
||||
@@ -164,11 +158,6 @@
|
||||
"deconstruct": {
|
||||
"items": [ { "item": "2x4", "count": 4 }, { "item": "wood_panel", "count": [ 1, 2 ] }, { "item": "nail", "charges": [ 6, 10 ] } ]
|
||||
},
|
||||
"prying": {
|
||||
"result": "f_crate_o",
|
||||
"message": "You pop open the crate.",
|
||||
"prying_data": { "difficulty": 6, "prying_level": 1, "noisy": true, "failure": "You pry, but can't pop open the crate." }
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 12,
|
||||
"str_max": 40,
|
||||
@@ -215,7 +204,17 @@
|
||||
"max_volume": "324 L",
|
||||
"deployed_item": "box_large",
|
||||
"examine_action": "deployed_furniture",
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "PLACE_ITEM", "ORGANIC", "EASY_DECONSTRUCT", "HIDE_PLACE", "NO_SIGHT", "CONTAINER" ],
|
||||
"flags": [
|
||||
"TRANSPARENT",
|
||||
"FLAMMABLE_ASH",
|
||||
"PLACE_ITEM",
|
||||
"ORGANIC",
|
||||
"EASY_DECONSTRUCT",
|
||||
"BASHABLE",
|
||||
"HIDE_PLACE",
|
||||
"NO_SIGHT",
|
||||
"CONTAINER"
|
||||
],
|
||||
"bash": {
|
||||
"str_min": 2,
|
||||
"str_max": 15,
|
||||
@@ -283,74 +282,19 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_gunsafe_o",
|
||||
"name": "open gun safe",
|
||||
"description": "A large and heavy container with thick metal walls and a rotary combination lock, this is designed to securely store firearms, weapon mods, and ammunition.",
|
||||
"symbol": "X",
|
||||
"color": "light_gray",
|
||||
"looks_like": "f_gunsafe_ml",
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 30,
|
||||
"required_str": 14,
|
||||
"max_volume": "250 L",
|
||||
"close": "f_gunsafe_c",
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "PLACE_ITEM", "MOUNTABLE" ],
|
||||
"bash": {
|
||||
"str_min": 40,
|
||||
"str_max": 200,
|
||||
"sound": "screeching metal!",
|
||||
"sound_fail": "whump!",
|
||||
"items": [
|
||||
{ "item": "steel_chunk", "count": [ 1, 5 ] },
|
||||
{ "item": "scrap", "count": [ 1, 5 ] },
|
||||
{ "item": "rock", "count": [ 1, 2 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_gunsafe_c",
|
||||
"name": "closed gun safe",
|
||||
"description": "A large and heavy container with thick metal walls and a rotary combination lock, this is designed to securely store firearms, weapon mods, and ammunition.",
|
||||
"symbol": "X",
|
||||
"color": "light_gray",
|
||||
"looks_like": "f_gunsafe_ml",
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 30,
|
||||
"required_str": 14,
|
||||
"max_volume": "250 L",
|
||||
"open": "f_gunsafe_o",
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "SEALED", "PLACE_ITEM", "MOUNTABLE" ],
|
||||
"bash": {
|
||||
"str_min": 40,
|
||||
"str_max": 200,
|
||||
"sound": "screeching metal!",
|
||||
"sound_fail": "whump!",
|
||||
"items": [
|
||||
{ "item": "steel_chunk", "count": [ 1, 5 ] },
|
||||
{ "item": "scrap", "count": [ 1, 5 ] },
|
||||
{ "item": "rock", "count": [ 1, 2 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_gunsafe_ml",
|
||||
"name": "locked gun safe",
|
||||
"description": "A large and heavy container with thick metal walls and a rotary combination lock, this is designed to securely store firearms, weapon mods, and ammunition. If you had something to pick its lock with, you could probably open it.",
|
||||
"name": "gun safe",
|
||||
"description": "A large and heavy container with thick metal walls and a rotary combination lock, this is designed to securely store firearms, weapon mods, and ammunition. If you had something to listen close with and a hell of a lot of time, you could probably crack it.",
|
||||
"symbol": "X",
|
||||
"color": "light_gray",
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 30,
|
||||
"required_str": 14,
|
||||
"max_volume": "250 L",
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "SEALED", "PLACE_ITEM", "MOUNTABLE", "PICKABLE" ],
|
||||
"lockpick_result": "f_gunsafe_o",
|
||||
"lockpick_message": "With a satisfying click, the lock on the gun safe door opens.",
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "SEALED", "PLACE_ITEM", "MOUNTABLE", "MINEABLE", "PICKABLE" ],
|
||||
"examine_action": "locked_object_pickable",
|
||||
"oxytorch": { "result": "f_safe_o", "duration": "14 seconds" },
|
||||
"bash": {
|
||||
"str_min": 40,
|
||||
"str_max": 200,
|
||||
@@ -375,8 +319,7 @@
|
||||
"coverage": 30,
|
||||
"required_str": 14,
|
||||
"max_volume": "250 L",
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "SEALED", "PLACE_ITEM", "MOUNTABLE" ],
|
||||
"oxytorch": { "result": "f_safe_o", "duration": "14 seconds" },
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "SEALED", "PLACE_ITEM", "MOUNTABLE", "MINEABLE" ],
|
||||
"bash": {
|
||||
"str_min": 40,
|
||||
"str_max": 200,
|
||||
@@ -401,8 +344,7 @@
|
||||
"coverage": 30,
|
||||
"required_str": 14,
|
||||
"max_volume": "250 L",
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "SEALED", "PLACE_ITEM", "MOUNTABLE" ],
|
||||
"oxytorch": { "result": "f_safe_o", "duration": "14 seconds" },
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "SEALED", "PLACE_ITEM", "MOUNTABLE", "MINEABLE" ],
|
||||
"examine_action": "gunsafe_el",
|
||||
"bash": {
|
||||
"str_min": 40,
|
||||
@@ -520,13 +462,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 70,
|
||||
"required_str": 8,
|
||||
"hacksaw": {
|
||||
"duration": "2 minutes",
|
||||
"message": "You finish cutting the metal.",
|
||||
"byproducts": [ { "item": "pipe", "count": [ 1, 3 ] }, { "item": "steel_chunk", "count": 1 } ]
|
||||
},
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "PLACE_ITEM", "BLOCKSDOOR", "MOUNTABLE" ],
|
||||
"oxytorch": { "duration": "1 seconds", "byproducts": [ { "item": "steel_chunk", "count": [ 2, 6 ] } ] },
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "pipe", "count": [ 6, 12 ] },
|
||||
@@ -536,43 +472,7 @@
|
||||
},
|
||||
"max_volume": "1750 L",
|
||||
"bash": {
|
||||
"str_min": 10,
|
||||
"str_max": 30,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
"items": [
|
||||
{ "item": "scrap", "count": [ 2, 8 ] },
|
||||
{ "item": "steel_chunk", "count": [ 2, 4 ] },
|
||||
{ "item": "sheet_metal_small", "count": [ 6, 10 ] },
|
||||
{ "item": "pipe", "count": 1 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_rack_l",
|
||||
"looks_like": "f_rack",
|
||||
"name": "locked display case",
|
||||
"description": "A sheet metal shelving unit, with the storage surfaces angled in such a way as to show off the items stored. Metal fasteners with a lock hold the items securely to the rack.",
|
||||
"symbol": "{",
|
||||
"color": "light_gray",
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 70,
|
||||
"required_str": 8,
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "PLACE_ITEM", "BLOCKSDOOR", "MOUNTABLE", "SEALED", "PICKABLE" ],
|
||||
"lockpick_result": "f_rack",
|
||||
"lockpick_message": "With a satisfying click, the lock opens.",
|
||||
"examine_action": "locked_object_pickable",
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "pipe", "count": [ 6, 12 ] },
|
||||
{ "item": "sheet_metal", "count": [ 1, 2 ] },
|
||||
{ "item": "sheet_metal_small", "count": [ 0, 4 ] }
|
||||
]
|
||||
},
|
||||
"max_volume": "1750 L",
|
||||
"bash": {
|
||||
"str_min": 10,
|
||||
"str_min": 6,
|
||||
"str_max": 30,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
@@ -665,7 +565,7 @@
|
||||
"coverage": 30,
|
||||
"required_str": 14,
|
||||
"max_volume": "250 L",
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "SEALED", "PLACE_ITEM", "MOUNTABLE" ],
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "SEALED", "PLACE_ITEM", "MOUNTABLE", "MINEABLE" ],
|
||||
"open": "f_safe_o",
|
||||
"examine_action": "open_safe",
|
||||
"bash": {
|
||||
@@ -692,8 +592,7 @@
|
||||
"coverage": 30,
|
||||
"required_str": 14,
|
||||
"max_volume": "250 L",
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "SEALED", "PLACE_ITEM", "MOUNTABLE" ],
|
||||
"oxytorch": { "result": "f_safe_o", "duration": "14 seconds" },
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "SEALED", "PLACE_ITEM", "MOUNTABLE", "MINEABLE" ],
|
||||
"examine_action": "safe",
|
||||
"bash": {
|
||||
"str_min": 40,
|
||||
@@ -719,7 +618,7 @@
|
||||
"coverage": 30,
|
||||
"required_str": 14,
|
||||
"max_volume": "250 L",
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "PLACE_ITEM", "MOUNTABLE" ],
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "PLACE_ITEM", "MOUNTABLE", "MINEABLE" ],
|
||||
"close": "f_safe_c",
|
||||
"bash": {
|
||||
"str_min": 40,
|
||||
@@ -752,27 +651,6 @@
|
||||
"items": [ { "item": "plastic_chunk", "count": [ 1, 2 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_metal_trashcan",
|
||||
"name": "metal trash can",
|
||||
"symbol": "&",
|
||||
"description": "A crude metal bin typically used to dispose of waste.",
|
||||
"//": "The constructed trash can variant, deliberately looks like the original. Does not spawn naturally, although feel free to add it to worldgen.",
|
||||
"color": "light_cyan",
|
||||
"move_cost_mod": 1,
|
||||
"required_str": 5,
|
||||
"max_volume": "20 L",
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "PLACE_ITEM", "MOUNTABLE", "SHORT" ],
|
||||
"deconstruct": { "items": [ { "item": "sheet_metal", "count": 2 } ] },
|
||||
"bash": {
|
||||
"str_min": 9,
|
||||
"str_max": 30,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
"items": [ { "item": "sheet_metal", "count": [ 1, 2 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_wardrobe",
|
||||
@@ -902,7 +780,7 @@
|
||||
"id": "f_wood_keg",
|
||||
"name": "wooden keg",
|
||||
"looks_like": "f_standing_tank",
|
||||
"description": "A large standing wooden barrel, completely watertight. Good for storing liquids of all kinds.",
|
||||
"description": "A large standing wooden barrel, completely watertight. Good for storing liquids of all kinds or fermenting alcohol.",
|
||||
"symbol": "H",
|
||||
"color": "brown",
|
||||
"move_cost_mod": -1,
|
||||
@@ -946,33 +824,7 @@
|
||||
"move_cost_mod": 2,
|
||||
"coverage": 80,
|
||||
"required_str": 9,
|
||||
"flags": [ "TRANSPARENT", "SEALED", "PLACE_ITEM", "PICKABLE" ],
|
||||
"lockpick_result": "f_displaycase_o",
|
||||
"lockpick_message": "With a satisfying click, the lock and the display case opens",
|
||||
"examine_action": "locked_object_pickable",
|
||||
"bash": {
|
||||
"str_min": 6,
|
||||
"str_max": 20,
|
||||
"sound": "glass breaking",
|
||||
"sound_fail": "whack!",
|
||||
"sound_vol": 16,
|
||||
"sound_fail_vol": 12,
|
||||
"furn_set": "f_displaycase_b",
|
||||
"items": [ { "item": "glass_shard", "count": [ 25, 50 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_displaycase_o",
|
||||
"name": "open display case",
|
||||
"looks_like": "f_rack",
|
||||
"description": "A secure wooden case at about waist-height, with glass panelling on the top. Useful for storing valuable things while still showing them off. Not actually as secure as it looks, as the display windows are easily broken. This one has had its lock picked and is open.",
|
||||
"symbol": "#",
|
||||
"color": "light_cyan",
|
||||
"move_cost_mod": 2,
|
||||
"coverage": 80,
|
||||
"required_str": 9,
|
||||
"flags": [ "TRANSPARENT", "PLACE_ITEM" ],
|
||||
"flags": [ "TRANSPARENT", "SEALED", "PLACE_ITEM" ],
|
||||
"bash": {
|
||||
"str_min": 6,
|
||||
"str_max": 20,
|
||||
@@ -1004,79 +856,6 @@
|
||||
"items": [ { "item": "2x4", "count": [ 3, 6 ] }, { "item": "splinter", "count": [ 2, 4 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_fireman_cabinet",
|
||||
"name": "fireman's cabinet",
|
||||
"looks_like": "f_displaycase",
|
||||
"description": "A metallic cabinet painted to stand out, visibly holding tools behind a thin panel of tempered glass.",
|
||||
"symbol": "#",
|
||||
"color": "light_red",
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 80,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "SEALED", "PLACE_ITEM", "PICKABLE" ],
|
||||
"lockpick_result": "f_fireman_cabinet_o",
|
||||
"lockpick_message": "With a satisfying click, the lock on the cabinet opens.",
|
||||
"examine_action": "locked_object_pickable",
|
||||
"bash": {
|
||||
"str_min": 6,
|
||||
"str_max": 20,
|
||||
"sound": "glass breaking",
|
||||
"sound_fail": "whack!",
|
||||
"sound_vol": 16,
|
||||
"sound_fail_vol": 12,
|
||||
"furn_set": "f_fireman_cabinet_b",
|
||||
"items": [ { "item": "glass_shard", "count": [ 25, 50 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_fireman_cabinet_o",
|
||||
"name": "unlocked fireman's cabinet",
|
||||
"looks_like": "f_displaycase",
|
||||
"description": "A metallic cabinet painted to stand out. Its glass panel door was left unlocked and slightly ajar.",
|
||||
"symbol": "#",
|
||||
"color": "light_red",
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 80,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "PLACE_ITEM" ],
|
||||
"bash": {
|
||||
"str_min": 6,
|
||||
"str_max": 20,
|
||||
"sound": "glass breaking",
|
||||
"sound_fail": "whack!",
|
||||
"sound_vol": 16,
|
||||
"sound_fail_vol": 12,
|
||||
"furn_set": "f_fireman_cabinet_b",
|
||||
"items": [ { "item": "glass_shard", "count": [ 25, 50 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_fireman_cabinet_b",
|
||||
"name": "open fireman's cabinet",
|
||||
"looks_like": "f_displaycase_b",
|
||||
"description": "A metallic cabinet painted to stand out. Its protective glass panel lies broken from some past emergency or looting attempt.",
|
||||
"symbol": "#",
|
||||
"color": "light_red",
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 80,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "PLACE_ITEM" ],
|
||||
"bash": {
|
||||
"str_min": 10,
|
||||
"str_max": 20,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
"items": [
|
||||
{ "item": "scrap", "count": [ 2, 8 ] },
|
||||
{ "item": "pipe", "count": [ 1, 3 ] },
|
||||
{ "item": "water_faucet", "prob": 50 }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_standing_tank",
|
||||
@@ -1087,7 +866,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 90,
|
||||
"required_str": -1,
|
||||
"flags": [ "CONTAINER", "LIQUIDCONT", "NOITEM", "SEALED", "TRANSPARENT" ],
|
||||
"flags": [ "BASHABLE", "CONTAINER", "DECONSTRUCT", "LIQUIDCONT", "NOITEM", "SEALED", "TRANSPARENT" ],
|
||||
"deconstruct": { "items": [ { "item": "metal_tank", "count": 4 }, { "item": "water_faucet", "count": 1 } ] },
|
||||
"examine_action": "keg",
|
||||
"keg_capacity": 1200,
|
||||
@@ -1285,12 +1064,6 @@
|
||||
"required_str": 12,
|
||||
"max_volume": "1000 L",
|
||||
"flags": [ "CONTAINER", "SEALED", "BLOCKSDOOR", "MOUNTABLE", "FLAT_SURF" ],
|
||||
"prying": {
|
||||
"result": "f_metal_crate_o",
|
||||
"message": "You wrench open the metal crate.",
|
||||
"byproducts": [ { "item": "sheet_metal", "count": 1 } ],
|
||||
"prying_data": { "difficulty": 4, "prying_level": 1, "noisy": true, "failure": "The lid is sealed more tightly than you thought." }
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 30,
|
||||
"str_max": 150,
|
||||
|
||||
@@ -237,7 +237,7 @@
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_tourist_table",
|
||||
"name": "folding table",
|
||||
"name": "tourist table",
|
||||
"description": "Small metal folding table, ideal for off-road trips into the wild. Can be used as a workbench in a pinch.",
|
||||
"symbol": "#",
|
||||
"bgcolor": "light_gray",
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
"ORGANIC",
|
||||
"REDUCE_SCENT",
|
||||
"EASY_DECONSTRUCT",
|
||||
"BASHABLE",
|
||||
"HIDE_PLACE",
|
||||
"NO_SIGHT"
|
||||
],
|
||||
@@ -81,6 +82,7 @@
|
||||
"ORGANIC",
|
||||
"REDUCE_SCENT",
|
||||
"EASY_DECONSTRUCT",
|
||||
"BASHABLE",
|
||||
"HIDE_PLACE",
|
||||
"NO_SIGHT",
|
||||
"BLOCK_WIND"
|
||||
@@ -110,7 +112,7 @@
|
||||
{ "item": "box_medium", "count": 2 },
|
||||
{ "item": "box_small", "count": 4 },
|
||||
{ "item": "rag", "count": 50 },
|
||||
{ "item": "paper", "count": [ 30, 80 ] },
|
||||
{ "item": "paper", "count": 50 },
|
||||
{ "item": "plastic_chunk", "count": 20 },
|
||||
{ "item": "plastic_sheet", "count": 2 }
|
||||
]
|
||||
@@ -125,7 +127,7 @@
|
||||
{ "item": "box_medium", "count": [ 0, 2 ] },
|
||||
{ "item": "box_small", "count": [ 0, 4 ] },
|
||||
{ "item": "rag", "count": [ 20, 50 ] },
|
||||
{ "item": "paper", "count": [ 30, 80 ] },
|
||||
{ "item": "paper", "count": [ 50, 150 ] },
|
||||
{ "item": "plastic_chunk", "count": [ 5, 20 ] },
|
||||
{ "item": "plastic_sheet", "count": [ 0, 2 ] }
|
||||
]
|
||||
@@ -674,7 +676,7 @@
|
||||
"coverage": 45,
|
||||
"required_str": 16,
|
||||
"crafting_pseudo_item": "boulder_anvil",
|
||||
"flags": [ "NOITEM", "TRANSPARENT", "MINEABLE", "UNSTABLE", "MOUNTABLE", "SHORT" ],
|
||||
"flags": [ "NOITEM", "TRANSPARENT", "MINEABLE", "UNSTABLE", "MOUNTABLE", "SHORT", "BASHABLE" ],
|
||||
"bash": {
|
||||
"str_min": 32,
|
||||
"str_max": 80,
|
||||
@@ -693,7 +695,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 65,
|
||||
"required_str": 32,
|
||||
"flags": [ "NOITEM", "MINEABLE", "BLOCK_WIND" ],
|
||||
"flags": [ "NOITEM", "MINEABLE", "BASHABLE", "BLOCK_WIND" ],
|
||||
"bash": {
|
||||
"str_min": 64,
|
||||
"str_max": 160,
|
||||
@@ -720,7 +722,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 40,
|
||||
"required_str": 32,
|
||||
"flags": [ "TRANSPARENT" ],
|
||||
"flags": [ "BASHABLE", "TRANSPARENT" ],
|
||||
"bash": {
|
||||
"str_min": 30,
|
||||
"str_max": 100,
|
||||
@@ -747,7 +749,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 40,
|
||||
"required_str": 32,
|
||||
"flags": [ "TRANSPARENT" ],
|
||||
"flags": [ "BASHABLE", "TRANSPARENT" ],
|
||||
"bash": {
|
||||
"str_min": 30,
|
||||
"str_max": 100,
|
||||
@@ -773,6 +775,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 40,
|
||||
"required_str": 26,
|
||||
"flags": [ "BASHABLE" ],
|
||||
"bash": {
|
||||
"str_min": 20,
|
||||
"str_max": 100,
|
||||
|
||||
@@ -400,7 +400,7 @@
|
||||
"name": "rock forge",
|
||||
"looks_like": "f_fireplace",
|
||||
"description": "Metalworking station made of rock, typically used in combination with an anvil. Works as a charcoal forge in crafting recipes.",
|
||||
"symbol": "U",
|
||||
"symbol": "^",
|
||||
"color": "light_red",
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 40,
|
||||
@@ -423,7 +423,7 @@
|
||||
"name": "clay kiln",
|
||||
"looks_like": "f_fireplace",
|
||||
"description": "A kiln designed to bake clay pottery and bricks.",
|
||||
"symbol": "U",
|
||||
"symbol": "^",
|
||||
"color": "light_red",
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 40,
|
||||
@@ -470,7 +470,7 @@
|
||||
"id": "f_arc_furnace",
|
||||
"name": "electric arc furnace",
|
||||
"looks_like": "f_machinery_heavy",
|
||||
"description": "Not the kind of furnace you'd heat your house with, this is a device for heating things to extreme temperatures as part of industrial fabrication processes. Can be used in recipes instead of forge, when supplied with power from UPS.",
|
||||
"description": "Not the kind of furnace you'd heat your house with, this is a device for heating things to extreme temperatures as part of industrial fabrication processes.",
|
||||
"symbol": "0",
|
||||
"color": "white_red",
|
||||
"move_cost_mod": -1,
|
||||
@@ -505,7 +505,7 @@
|
||||
"id": "f_drill_press",
|
||||
"name": "drill press",
|
||||
"looks_like": "f_machinery_light",
|
||||
"description": "A powerful drill mounted on a slide that lets it drop precisely down. Useful in all kinds of projects from industrial fabrication to home woodworking, if supplied with power from UPS.",
|
||||
"description": "A powerful drill mounted on a slide that lets it drop precisely down. Useful in all kinds of projects from industrial fabrication to home woodworking.",
|
||||
"symbol": "7",
|
||||
"color": "yellow_red",
|
||||
"move_cost_mod": -1,
|
||||
@@ -538,39 +538,12 @@
|
||||
},
|
||||
"crafting_pseudo_item": "fake_drill_press"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_firefly_terrarium",
|
||||
"name": "firefly terrarium",
|
||||
"description": "While many survivors would have focused on trying to bring back electric lights, whomever lives here has apparently decided to make use of the changes wrought by the cataclysm to provide light. This vivarium contains soil, strange plants you don't recognize immediately, and most strikingly, a giant mutant firefly.",
|
||||
"symbol": "#",
|
||||
"color": "light_green",
|
||||
"move_cost_mod": 3,
|
||||
"coverage": 30,
|
||||
"required_str": 6,
|
||||
"light_emitted": 25,
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "BLOCKSDOOR" ],
|
||||
"bash": {
|
||||
"str_min": 20,
|
||||
"str_max": 30,
|
||||
"sound_fail": "smash!",
|
||||
"items": [
|
||||
{ "item": "glass_shard", "count": [ 8, 12 ] },
|
||||
{ "item": "alien_fern", "count": [ 0, 3 ] },
|
||||
{ "item": "mutant_meat", "count": [ 2, 4 ] },
|
||||
{ "item": "material_soil", "count": [ 2, 10 ] },
|
||||
{ "item": "mutant_bug_hydrogen_sacs", "count": [ 0, 2 ] },
|
||||
{ "item": "egg_firefly", "count": [ 0, 1 ] },
|
||||
{ "item": "mutant_bug_organs", "charges": [ 0, 5 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_tablesaw",
|
||||
"name": "tablesaw",
|
||||
"looks_like": "f_machinery_light",
|
||||
"description": "A rotating saw blade set into a large flat table, for making straight measured cuts, if supplied with power from UPS. One of the key tools in a carpenter's arsenal.",
|
||||
"description": "A rotating saw blade set into a large flat table, for making straight measured cuts. One of the key tools in a carpenter's arsenal.",
|
||||
"symbol": "7",
|
||||
"color": "yellow_red",
|
||||
"move_cost_mod": 8,
|
||||
@@ -609,7 +582,7 @@
|
||||
"id": "f_mitresaw",
|
||||
"name": "mitre saw",
|
||||
"looks_like": "f_machinery_light",
|
||||
"description": "A circular saw blade on an arm that can slide and rotate in several directions, this is a staple tool for nearly any carpentry, if supplied with power from UPS.",
|
||||
"description": "A circular saw blade on an arm that can slide and rotate in several directions, this is a staple tool for nearly any carpentry.",
|
||||
"symbol": "7",
|
||||
"color": "yellow_cyan",
|
||||
"move_cost_mod": -1,
|
||||
@@ -648,7 +621,7 @@
|
||||
"id": "f_bandsaw",
|
||||
"name": "bandsaw",
|
||||
"looks_like": "f_machinery_light",
|
||||
"description": "A ribbonlike sawblade runs in a single direction in this tool, allowing precise cuts at almost any angle, if supplied with power from UPS.",
|
||||
"description": "A ribbonlike sawblade runs in a single direction in this tool, allowing precise cuts at almost any angle.",
|
||||
"symbol": "7",
|
||||
"color": "yellow_cyan",
|
||||
"move_cost_mod": -1,
|
||||
@@ -686,7 +659,7 @@
|
||||
"id": "f_router",
|
||||
"name": "router table",
|
||||
"looks_like": "f_machinery_light",
|
||||
"description": "This table has an inset router, a rotating motor with an exchangeable blade head for cutting specific profiles and grooves and stuff, if supplied with power from UPS.",
|
||||
"description": "This table has an inset router, a rotating motor with an exchangeable blade head for cutting specific profiles and grooves and stuff.",
|
||||
"symbol": "7",
|
||||
"color": "yellow_green",
|
||||
"move_cost_mod": 8,
|
||||
@@ -724,7 +697,7 @@
|
||||
"id": "f_planer",
|
||||
"name": "planer",
|
||||
"looks_like": "f_machinery_light",
|
||||
"description": "A hefty tool that will take in a board and cut it smooth and flat to a specific width, if supplied with power from UPS. Particularly great if working with raw lumber stock, but also good just for shaving wood down to size.",
|
||||
"description": "A hefty tool that will take in a board and cut it smooth and flat to a specific width. Particularly great if working with raw lumber stock, but also good just for shaving wood down to size.",
|
||||
"symbol": "7",
|
||||
"color": "yellow_white",
|
||||
"move_cost_mod": -1,
|
||||
@@ -762,7 +735,7 @@
|
||||
"id": "f_jointer",
|
||||
"name": "jointer",
|
||||
"looks_like": "f_machinery_light",
|
||||
"description": "A table-shaped tool with a rotating blade that will cut down, smooth out, and square off a board to make it very smooth and nice indeed, if supplied with power from UPS.",
|
||||
"description": "A table-shaped tool with a rotating blade that will cut down, smooth out, and square off a board to make it very smooth and nice indeed.",
|
||||
"symbol": "7",
|
||||
"color": "yellow_magenta",
|
||||
"move_cost_mod": 8,
|
||||
@@ -800,7 +773,7 @@
|
||||
"id": "f_hydraulic_press",
|
||||
"name": "hydraulic press",
|
||||
"looks_like": "f_machinery_light",
|
||||
"description": "If you really want to squash something a lot, this would be exactly the right industrial tool for you, if supplied with power from UPS.",
|
||||
"description": "If you really want to squash something a lot, this would be exactly the right industrial tool for you. If, you know, it had power.",
|
||||
"symbol": "9",
|
||||
"color": "black_red",
|
||||
"move_cost_mod": -1,
|
||||
@@ -838,7 +811,7 @@
|
||||
"id": "f_heavy_lathe",
|
||||
"name": "power lathe",
|
||||
"looks_like": "f_machinery_light",
|
||||
"description": "An industrial-grade lathe, for turning chunks of metal and other hard things into round chunks of metal and other hard things, if supplied with power from UPS.",
|
||||
"description": "An industrial-grade lathe, for turning chunks of metal and other hard things into round chunks of metal and other hard things.",
|
||||
"symbol": "4",
|
||||
"color": "cyan_red",
|
||||
"move_cost_mod": -1,
|
||||
@@ -873,7 +846,7 @@
|
||||
"id": "f_air_compressor",
|
||||
"name": "air compressor",
|
||||
"looks_like": "f_standing_tank",
|
||||
"description": "This durable tank is topped with a motor that will cram as much air into the tank as possible, if supplied with power from UPS.",
|
||||
"description": "This durable tank is topped with a motor that will cram as much air into the tank as possible.",
|
||||
"symbol": "8",
|
||||
"color": "black_yellow",
|
||||
"move_cost_mod": -1,
|
||||
@@ -912,38 +885,6 @@
|
||||
},
|
||||
"crafting_pseudo_item": "fake_air_compressor"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_manual_tire_changer",
|
||||
"name": "manual tire changer",
|
||||
"looks_like": "f_machinery_light",
|
||||
"description": "This floor mounted machine contains all the levers, clamps and mounts required to remove or fit a tire, plus an integrated foot pump to inflate it.",
|
||||
"symbol": "7",
|
||||
"color": "black_yellow",
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 30,
|
||||
"required_str": 10,
|
||||
"flags": [ "BLOCKSDOOR" ],
|
||||
"deconstruct": {
|
||||
"items": [
|
||||
{ "item": "scrap", "count": [ 2, 6 ] },
|
||||
{ "item": "steel_chunk", "count": [ 1, 3 ] },
|
||||
{ "item": "plastic_chunk", "count": [ 4, 6 ] }
|
||||
]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 18,
|
||||
"str_max": 50,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
"items": [
|
||||
{ "item": "scrap", "count": [ 2, 7 ] },
|
||||
{ "item": "steel_chunk", "count": [ 0, 3 ] },
|
||||
{ "item": "plastic_chunk", "count": [ 0, 2 ] }
|
||||
]
|
||||
},
|
||||
"crafting_pseudo_item": "fake_tire_changer"
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_fvat_empty",
|
||||
@@ -1253,13 +1194,7 @@
|
||||
"items": [
|
||||
{ "item": "glass_shard", "count": [ 8, 25 ] },
|
||||
{ "item": "sheet_metal", "count": [ 0, 2 ] },
|
||||
{ "item": "steel_chunk", "count": [ 1, 5 ] },
|
||||
{ "item": "money_one", "count": [ 0, 100 ] },
|
||||
{ "item": "money_two", "count": [ 0, 20 ] },
|
||||
{ "item": "money_five", "count": [ 0, 100 ] },
|
||||
{ "item": "money_ten", "count": [ 0, 100 ] },
|
||||
{ "item": "money_twenty", "count": [ 0, 100 ] },
|
||||
{ "item": "money_fifty", "count": [ 0, 50 ] }
|
||||
{ "item": "steel_chunk", "count": [ 1, 5 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -1309,14 +1244,7 @@
|
||||
{ "item": "steel_chunk", "count": [ 0, 3 ] },
|
||||
{ "item": "hose", "count": 1 },
|
||||
{ "item": "cu_pipe", "count": [ 1, 4 ] },
|
||||
{ "item": "scrap_copper", "count": [ 0, 2 ] },
|
||||
{ "item": "coin_nickel", "count": [ 0, 100 ] },
|
||||
{ "item": "coin_dime", "count": [ 0, 100 ] },
|
||||
{ "item": "coin_quarter", "count": [ 0, 100 ] },
|
||||
{ "item": "coin_dollar", "count": [ 0, 1 ] },
|
||||
{ "item": "money_one", "count": [ 0, 100 ] },
|
||||
{ "item": "money_two", "count": [ 0, 10 ] },
|
||||
{ "item": "money_five", "count": [ 0, 30 ] }
|
||||
{ "item": "scrap_copper", "count": [ 0, 2 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
[
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_glowingbulb",
|
||||
"name": "illuminating plant bulb",
|
||||
"description": "A small plant grows among the roots here, its green onion-like bulb illuminating the area around it.",
|
||||
"symbol": "!",
|
||||
"color": "brown",
|
||||
"move_cost_mod": 6,
|
||||
"required_str": -1,
|
||||
"light_emitted": 15,
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "ORGANIC" ],
|
||||
"bash": {
|
||||
"str_min": 6,
|
||||
"str_max": 30,
|
||||
"sound": "smash!",
|
||||
"sound_fail": "whump.",
|
||||
"items": [ { "item": "splinter", "count": [ 3, 5 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_brambles",
|
||||
"name": "brambles",
|
||||
"symbol": "#",
|
||||
"bgcolor": "brown",
|
||||
"description": "A wall of tangled roots blocks the path here, you'd have destroy it to get past.",
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 60,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "BLOCKSDOOR", "SHORT", "THIN_OBSTACLE" ],
|
||||
"bash": {
|
||||
"str_min": 10,
|
||||
"str_max": 60,
|
||||
"sound": "smash",
|
||||
"sound_fail": "whump.",
|
||||
"items": [ { "item": "splinter", "count": [ 10, 15 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
"id": "f_midden",
|
||||
"name": "composting midden",
|
||||
"description": "A hole that has been dug into the roots here, and a pretty unpleasant smell emits from it.",
|
||||
"symbol": "O",
|
||||
"bgcolor": "brown",
|
||||
"move_cost_mod": 3,
|
||||
"coverage": 35,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "PLACE_ITEM", "SHORT", "MOUNTABLE" ]
|
||||
}
|
||||
]
|
||||
@@ -20,8 +20,7 @@
|
||||
"sound_fail_vol": 14,
|
||||
"ter_set": "t_mdoor_frame",
|
||||
"items": [ { "item": "glass_shard", "count": [ 42, 84 ] }, { "item": "scrap", "count": [ 3, 5 ] } ]
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 2, 12 ], "reduce_damage_laser": [ 0, 7 ], "destroy_damage": [ 40, 120 ], "no_laser_destroy": true }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -67,12 +66,6 @@
|
||||
"sound_fail_vol": 14,
|
||||
"ter_set": "t_mdoor_frame",
|
||||
"items": [ { "item": "glass_shard", "count": [ 42, 84 ] }, { "item": "scrap", "count": [ 3, 5 ] } ]
|
||||
},
|
||||
"shoot": {
|
||||
"reduce_damage": [ 30, 60 ],
|
||||
"reduce_damage_laser": [ 0, 10 ],
|
||||
"destroy_damage": [ 80, 200 ],
|
||||
"no_laser_destroy": true
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -123,12 +116,6 @@
|
||||
{ "item": "wire", "prob": 20 },
|
||||
{ "item": "scrap", "count": [ 3, 5 ] }
|
||||
]
|
||||
},
|
||||
"shoot": {
|
||||
"reduce_damage": [ 15, 30 ],
|
||||
"reduce_damage_laser": [ 0, 10 ],
|
||||
"destroy_damage": [ 60, 160 ],
|
||||
"no_laser_destroy": true
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -156,12 +143,6 @@
|
||||
{ "item": "wire", "prob": 20 },
|
||||
{ "item": "scrap", "count": [ 3, 5 ] }
|
||||
]
|
||||
},
|
||||
"shoot": {
|
||||
"reduce_damage": [ 15, 30 ],
|
||||
"reduce_damage_laser": [ 0, 10 ],
|
||||
"destroy_damage": [ 60, 160 ],
|
||||
"no_laser_destroy": true
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -253,9 +234,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 2 ] },
|
||||
{ "item": "nail", "charges": [ 0, 2 ] }
|
||||
]
|
||||
},
|
||||
"prying": { "result": "t_door_o", "message": "You notice the door is unlocked, so you simply open it.", "prying_data": { } },
|
||||
"shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -293,8 +272,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 2 ] },
|
||||
{ "item": "nail", "charges": [ 0, 2 ] }
|
||||
]
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -332,8 +310,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 2 ] },
|
||||
{ "item": "nail", "charges": [ 0, 2 ] }
|
||||
]
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -371,8 +348,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 2 ] },
|
||||
{ "item": "nail", "charges": [ 0, 2 ] }
|
||||
]
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -410,8 +386,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 2 ] },
|
||||
{ "item": "nail", "charges": [ 0, 2 ] }
|
||||
]
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -449,8 +424,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 2 ] },
|
||||
{ "item": "nail", "charges": [ 0, 2 ] }
|
||||
]
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -634,8 +608,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 4 ] },
|
||||
{ "item": "hinge", "count": [ 1, 2 ] }
|
||||
]
|
||||
},
|
||||
"shoot": { "chance_to_hit": 20, "reduce_damage": [ 10, 25 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 70 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -671,8 +644,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 4 ] },
|
||||
{ "item": "hinge", "count": [ 1, 2 ] }
|
||||
]
|
||||
},
|
||||
"shoot": { "chance_to_hit": 20, "reduce_damage": [ 10, 25 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 70 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -708,8 +680,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 4 ] },
|
||||
{ "item": "hinge", "count": [ 1, 2 ] }
|
||||
]
|
||||
},
|
||||
"shoot": { "chance_to_hit": 20, "reduce_damage": [ 10, 25 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 70 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -745,8 +716,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 4 ] },
|
||||
{ "item": "hinge", "count": [ 1, 2 ] }
|
||||
]
|
||||
},
|
||||
"shoot": { "chance_to_hit": 20, "reduce_damage": [ 10, 25 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 70 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -870,8 +840,7 @@
|
||||
"sound_fail_vol": 10,
|
||||
"ter_set": "t_door_red_frame",
|
||||
"items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 1, 8 ], "reduce_damage_laser": [ 0, 5 ], "destroy_damage": [ 4, 16 ], "no_laser_destroy": true }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -895,8 +864,7 @@
|
||||
"sound_fail_vol": 10,
|
||||
"ter_set": "t_door_green_frame",
|
||||
"items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 1, 8 ], "reduce_damage_laser": [ 0, 5 ], "destroy_damage": [ 4, 16 ], "no_laser_destroy": true }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -920,8 +888,7 @@
|
||||
"sound_fail_vol": 10,
|
||||
"ter_set": "t_door_white_frame",
|
||||
"items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 1, 8 ], "reduce_damage_laser": [ 0, 5 ], "destroy_damage": [ 4, 16 ], "no_laser_destroy": true }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -945,8 +912,7 @@
|
||||
"sound_fail_vol": 10,
|
||||
"ter_set": "t_door_gray_frame",
|
||||
"items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 1, 8 ], "reduce_damage_laser": [ 0, 5 ], "destroy_damage": [ 4, 16 ], "no_laser_destroy": true }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -970,8 +936,7 @@
|
||||
"sound_fail_vol": 10,
|
||||
"ter_set": "t_door_red_frame",
|
||||
"items": [ { "item": "glass_shard", "count": [ 42, 84 ] } ]
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 1, 8 ], "reduce_damage_laser": [ 0, 5 ], "destroy_damage": [ 4, 16 ], "no_laser_destroy": true }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -1082,9 +1047,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 2 ] },
|
||||
{ "item": "nail", "charges": [ 0, 2 ] }
|
||||
]
|
||||
},
|
||||
"prying": { "result": "t_door_o_peep", "message": "You notice the door is unlocked, so you simply open it.", "prying_data": { } },
|
||||
"shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -1120,8 +1083,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 4 ] },
|
||||
{ "item": "hinge", "count": [ 1, 2 ] }
|
||||
]
|
||||
},
|
||||
"shoot": { "chance_to_hit": 20, "reduce_damage": [ 10, 25 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 70 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -1157,8 +1119,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 4 ] },
|
||||
{ "item": "hinge", "count": [ 1, 2 ] }
|
||||
]
|
||||
},
|
||||
"shoot": { "chance_to_hit": 20, "reduce_damage": [ 10, 25 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 70 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -1196,8 +1157,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 4 ] },
|
||||
{ "item": "hinge", "count": [ 1, 2 ] }
|
||||
]
|
||||
},
|
||||
"shoot": { "chance_to_hit": 20, "reduce_damage": [ 10, 25 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 70 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -1345,8 +1305,7 @@
|
||||
{ "item": "splinter", "count": [ 2, 4 ] },
|
||||
{ "item": "nail", "charges": [ 4, 12 ] }
|
||||
]
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 20, 35 ], "reduce_damage_laser": [ 10, 30 ], "destroy_damage": [ 30, 100 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -1382,8 +1341,7 @@
|
||||
{ "item": "splinter", "count": [ 2, 4 ] },
|
||||
{ "item": "hinge", "count": [ 0, 1 ] }
|
||||
]
|
||||
},
|
||||
"shoot": { "chance_to_hit": 20, "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 10, 30 ], "destroy_damage": [ 30, 80 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -1432,8 +1390,6 @@
|
||||
"color": "brown",
|
||||
"move_cost": 0,
|
||||
"coverage": 95,
|
||||
"lockpick_result": "t_door_c",
|
||||
"lockpick_message": "With a satisfying click, the lock on the door opens.",
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [
|
||||
"FLAMMABLE_ASH",
|
||||
@@ -1460,13 +1416,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 2 ] },
|
||||
{ "item": "nail", "charges": [ 0, 2 ] }
|
||||
]
|
||||
},
|
||||
"prying": {
|
||||
"result": "t_door_o",
|
||||
"message": "You pry open the door.",
|
||||
"prying_data": { "difficulty": 6, "prying_level": 2, "noisy": true, "failure": "You pry, but can't pry open the door." }
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -1478,8 +1428,6 @@
|
||||
"color": "brown",
|
||||
"move_cost": 0,
|
||||
"coverage": 95,
|
||||
"lockpick_result": "t_door_c",
|
||||
"lockpick_message": "With a satisfying click, the lock on the door opens.",
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [
|
||||
"FLAMMABLE_ASH",
|
||||
@@ -1508,13 +1456,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 2 ] },
|
||||
{ "item": "nail", "charges": [ 0, 2 ] }
|
||||
]
|
||||
},
|
||||
"prying": {
|
||||
"result": "t_door_o",
|
||||
"message": "You pry open the door.",
|
||||
"prying_data": { "difficulty": 6, "prying_level": 2, "noisy": true, "failure": "You pry, but can't pry open the door." }
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -1526,8 +1468,6 @@
|
||||
"color": "brown",
|
||||
"move_cost": 0,
|
||||
"coverage": 95,
|
||||
"lockpick_result": "t_door_c_peep",
|
||||
"lockpick_message": "With a satisfying click, the lock on the door opens.",
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [
|
||||
"FLAMMABLE_ASH",
|
||||
@@ -1556,13 +1496,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 2 ] },
|
||||
{ "item": "nail", "charges": [ 0, 2 ] }
|
||||
]
|
||||
},
|
||||
"prying": {
|
||||
"result": "t_door_o_peep",
|
||||
"message": "You pry open the door.",
|
||||
"prying_data": { "difficulty": 6, "prying_level": 2, "noisy": true, "failure": "You pry, but can't pry open the door." }
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -1574,8 +1508,6 @@
|
||||
"color": "brown",
|
||||
"move_cost": 0,
|
||||
"coverage": 95,
|
||||
"lockpick_result": "t_door_c",
|
||||
"lockpick_message": "With a satisfying click, the lock on the door opens.",
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [
|
||||
"FLAMMABLE_ASH",
|
||||
@@ -1603,13 +1535,7 @@
|
||||
{ "item": "splinter", "count": [ 1, 2 ] },
|
||||
{ "item": "nail", "charges": [ 0, 2 ] }
|
||||
]
|
||||
},
|
||||
"prying": {
|
||||
"result": "t_door_o",
|
||||
"message": "You pry open the door.",
|
||||
"prying_data": { "difficulty": 6, "prying_level": 2, "noisy": true, "alarm": true, "failure": "You pry, but can't pry open the door." }
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 5, 20 ], "destroy_damage": [ 20, 90 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -1871,15 +1797,7 @@
|
||||
{ "item": "nail", "charges": [ 2, 10 ] },
|
||||
{ "item": "splinter", "count": [ 1, 2 ] }
|
||||
]
|
||||
},
|
||||
"prying": {
|
||||
"result": "t_door_c",
|
||||
"duration": "30 seconds",
|
||||
"message": "You pry the boards from the door.",
|
||||
"byproducts": [ { "item": "nail", "count": 8 }, { "item": "2x4", "count": 4 } ],
|
||||
"prying_data": { "prying_nails": true }
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 20, 35 ], "reduce_damage_laser": [ 10, 30 ], "destroy_damage": [ 30, 90 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -1907,15 +1825,7 @@
|
||||
{ "item": "splinter", "count": 1 },
|
||||
{ "item": "hinge", "count": [ 1, 2 ] }
|
||||
]
|
||||
},
|
||||
"prying": {
|
||||
"result": "t_door_b",
|
||||
"duration": "30 seconds",
|
||||
"message": "You pry the boards from the door.",
|
||||
"byproducts": [ { "item": "nail", "count": 8 }, { "item": "2x4", "count": 4 } ],
|
||||
"prying_data": { "prying_nails": true }
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 10, 30 ], "destroy_damage": [ 30, 70 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -1943,15 +1853,7 @@
|
||||
{ "item": "nail", "charges": [ 2, 10 ] },
|
||||
{ "item": "splinter", "count": [ 1, 2 ] }
|
||||
]
|
||||
},
|
||||
"prying": {
|
||||
"result": "t_door_c_peep",
|
||||
"duration": "30 seconds",
|
||||
"message": "You pry the boards from the door.",
|
||||
"byproducts": [ { "item": "nail", "count": 8 }, { "item": "2x4", "count": 4 } ],
|
||||
"prying_data": { "prying_nails": true }
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 20, 35 ], "reduce_damage_laser": [ 10, 30 ], "destroy_damage": [ 30, 90 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -1979,15 +1881,7 @@
|
||||
{ "item": "nail", "charges": [ 1, 8 ] },
|
||||
{ "item": "splinter", "count": 1 }
|
||||
]
|
||||
},
|
||||
"prying": {
|
||||
"result": "t_rdoor_c",
|
||||
"duration": "30 seconds",
|
||||
"message": "You pry the boards from the door.",
|
||||
"byproducts": [ { "item": "nail", "count": 8 }, { "item": "2x4", "count": 4 } ],
|
||||
"prying_data": { "prying_nails": true }
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 25, 40 ], "reduce_damage_laser": [ 15, 40 ], "destroy_damage": [ 40, 100 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -2015,15 +1909,7 @@
|
||||
{ "item": "splinter", "count": 1 },
|
||||
{ "item": "hinge", "count": [ 0, 1 ] }
|
||||
]
|
||||
},
|
||||
"prying": {
|
||||
"result": "t_rdoor_b",
|
||||
"duration": "30 seconds",
|
||||
"message": "You pry the boards from the door.",
|
||||
"byproducts": [ { "item": "nail", "count": 8 }, { "item": "2x4", "count": 4 } ],
|
||||
"prying_data": { "prying_nails": true }
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 20, 35 ], "reduce_damage_laser": [ 10, 30 ], "destroy_damage": [ 30, 90 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -2053,15 +1939,7 @@
|
||||
{ "item": "splinter", "count": 1 },
|
||||
{ "item": "hinge", "count": [ 1, 2 ] }
|
||||
]
|
||||
},
|
||||
"prying": {
|
||||
"result": "t_door_b_peep",
|
||||
"duration": "30 seconds",
|
||||
"message": "You pry the boards from the door.",
|
||||
"byproducts": [ { "item": "nail", "count": 8 }, { "item": "2x4", "count": 4 } ],
|
||||
"prying_data": { "prying_nails": true }
|
||||
},
|
||||
"shoot": { "reduce_damage": [ 15, 30 ], "reduce_damage_laser": [ 10, 30 ], "destroy_damage": [ 30, 70 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -2076,11 +1954,6 @@
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "NOITEM", "DOOR", "CONNECT_TO_WALL", "BLOCK_WIND" ],
|
||||
"open": "t_door_metal_o",
|
||||
"oxytorch": {
|
||||
"result": "t_mdoor_frame",
|
||||
"duration": "14 seconds",
|
||||
"byproducts": [ { "item": "steel_plate", "count": [ 0, 1 ] }, { "item": "steel_chunk", "count": [ 3, 8 ] } ]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 250,
|
||||
@@ -2094,32 +1967,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_door_metal_corrugated_c",
|
||||
"name": "closed corrugated metal door",
|
||||
"description": "A thin door made of corrugated steel held in a frame.",
|
||||
"symbol": "+",
|
||||
"looks_like": "t_door_c",
|
||||
"color": "cyan",
|
||||
"move_cost": 0,
|
||||
"coverage": 95,
|
||||
"roof": "t_metal_flat_roof",
|
||||
"flags": [ "NOITEM", "DOOR", "CONNECT_TO_WALL", "BLOCK_WIND" ],
|
||||
"open": "t_door_metal_corrugated_o",
|
||||
"bash": {
|
||||
"str_min": 30,
|
||||
"str_max": 210,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
"ter_set": "t_mdoor_frame",
|
||||
"items": [
|
||||
{ "item": "scrap", "count": [ 4, 8 ] },
|
||||
{ "item": "steel_plate", "prob": 75 },
|
||||
{ "item": "hinge", "count": [ 1, 3 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_secretdoor_metal_c",
|
||||
@@ -2162,61 +2009,6 @@
|
||||
"items": [ { "item": "scrap", "count": [ 12, 24 ] }, { "item": "steel_plate", "prob": 75 } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_secretdoor_concrete_c",
|
||||
"name": "concrete wall",
|
||||
"description": "A faux concrete wall positioned and joined seamlessly with the wall, this wall is capable of resisting extreme elements as well as hostile forces. Blast load rated and extremely fire-retardant, breaching will require specialized tools or industrial vehicles.",
|
||||
"symbol": "LINE_OXOX",
|
||||
"looks_like": "t_concrete_wall",
|
||||
"color": "light_gray",
|
||||
"move_cost": 0,
|
||||
"roof": "t_metal_floor",
|
||||
"flags": [ "NOITEM", "DOOR", "CONNECT_TO_WALL", "AUTO_WALL_SYMBOL" ],
|
||||
"open": "t_secretdoor_concrete_o",
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 250,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
"ter_set": "t_mdoor_frame",
|
||||
"items": [
|
||||
{ "item": "rebar", "count": [ 2, 6 ] },
|
||||
{ "item": "rock", "count": [ 10, 22 ] },
|
||||
{ "item": "chain", "count": [ 0, 2 ] },
|
||||
{ "item": "spring", "count": [ 1, 3 ] },
|
||||
{ "item": "rock", "count": [ 2, 4 ] },
|
||||
{ "item": "scrap", "charges": [ 4, 12 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_secretdoor_concrete_o",
|
||||
"name": "open secret door",
|
||||
"looks_like": "t_thconc_floor",
|
||||
"description": "This apparently normal segment of concrete wall has opened to reveal a secret passage.",
|
||||
"symbol": "'",
|
||||
"color": "light_gray",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "FLAT", "CONNECT_TO_WALL", "ROAD" ],
|
||||
"close": "t_secretdoor_concrete_c",
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 250,
|
||||
"sound": "whump!",
|
||||
"sound_fail": "thwack!",
|
||||
"ter_set": "t_mdoor_frame",
|
||||
"items": [
|
||||
{ "item": "rebar", "count": [ 2, 6 ] },
|
||||
{ "item": "rock", "count": [ 10, 22 ] },
|
||||
{ "item": "chain", "count": [ 0, 2 ] },
|
||||
{ "item": "spring", "count": [ 1, 3 ] },
|
||||
{ "item": "rock", "count": [ 2, 4 ] },
|
||||
{ "item": "scrap", "charges": [ 4, 12 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_door_metal_lab_c",
|
||||
@@ -2268,31 +2060,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_door_metal_corrugated_o",
|
||||
"name": "open corrugated metal door",
|
||||
"description": "A thin door made of corrugated steel held in a frame. It's open, so no tools are needed to break in.",
|
||||
"symbol": "'",
|
||||
"looks_like": "t_door_o",
|
||||
"color": "cyan",
|
||||
"move_cost": 2,
|
||||
"roof": "t_metal_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "FLAT", "CONNECT_TO_WALL", "ROAD" ],
|
||||
"close": "t_door_metal_corrugated_c",
|
||||
"bash": {
|
||||
"str_min": 30,
|
||||
"str_max": 210,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
"ter_set": "t_mdoor_frame",
|
||||
"items": [
|
||||
{ "item": "scrap", "count": [ 4, 8 ] },
|
||||
{ "item": "steel_plate", "prob": 75 },
|
||||
{ "item": "hinge", "count": [ 1, 3 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_door_metal_lab_o",
|
||||
@@ -2385,11 +2152,6 @@
|
||||
"coverage": 95,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "NOITEM", "REDUCE_SCENT", "CONNECT_TO_WALL", "LOCKED", "BLOCK_WIND" ],
|
||||
"oxytorch": {
|
||||
"result": "t_mdoor_frame",
|
||||
"duration": "14 seconds",
|
||||
"byproducts": [ { "item": "steel_plate", "count": [ 0, 1 ] }, { "item": "steel_chunk", "count": [ 3, 8 ] } ]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 250,
|
||||
@@ -2414,22 +2176,10 @@
|
||||
"color": "cyan",
|
||||
"move_cost": 0,
|
||||
"coverage": 95,
|
||||
"lockpick_result": "t_door_metal_c",
|
||||
"lockpick_message": "With a satisfying click, the lock on the door opens.",
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "NOITEM", "REDUCE_SCENT", "OPENCLOSE_INSIDE", "CONNECT_TO_WALL", "LOCKED", "BLOCK_WIND", "PICKABLE" ],
|
||||
"open": "t_door_metal_o",
|
||||
"prying": {
|
||||
"result": "t_door_metal_o",
|
||||
"message": "You pry open the metal door.",
|
||||
"prying_data": { "difficulty": 8, "prying_level": 4, "noisy": true, "failure": "The metal door is too thick." }
|
||||
},
|
||||
"examine_action": "locked_object_pickable",
|
||||
"oxytorch": {
|
||||
"result": "t_mdoor_frame",
|
||||
"duration": "14 seconds",
|
||||
"byproducts": [ { "item": "steel_plate", "count": [ 0, 1 ] }, { "item": "steel_chunk", "count": [ 3, 8 ] } ]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 80,
|
||||
"str_max": 250,
|
||||
@@ -2455,22 +2205,11 @@
|
||||
"move_cost": 0,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "PERMEABLE", "CONNECT_TO_WALL", "THIN_OBSTACLE" ],
|
||||
"hacksaw": {
|
||||
"result": "t_mdoor_frame",
|
||||
"duration": "15 minutes",
|
||||
"message": "You finish cutting the metal.",
|
||||
"byproducts": [ { "item": "pipe", "count": 12 } ]
|
||||
},
|
||||
"open": "t_door_bar_o",
|
||||
"oxytorch": {
|
||||
"result": "t_mdoor_frame",
|
||||
"duration": "14 seconds",
|
||||
"byproducts": [ { "item": "steel_plate", "count": [ 0, 1 ] }, { "item": "steel_chunk", "count": [ 3, 8 ] } ]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 45,
|
||||
"str_min": 30,
|
||||
"str_max": 210,
|
||||
"str_min_blocked": 55,
|
||||
"str_min_blocked": 40,
|
||||
"str_max_blocked": 240,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
@@ -2495,9 +2234,9 @@
|
||||
"flags": [ "TRANSPARENT", "FLAT", "CONNECT_TO_WALL", "ROAD" ],
|
||||
"close": "t_door_bar_c",
|
||||
"bash": {
|
||||
"str_min": 40,
|
||||
"str_min": 20,
|
||||
"str_max": 210,
|
||||
"str_min_blocked": 50,
|
||||
"str_min_blocked": 30,
|
||||
"str_max_blocked": 240,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
@@ -2520,25 +2259,12 @@
|
||||
"color": "cyan",
|
||||
"move_cost": 0,
|
||||
"roof": "t_flat_roof",
|
||||
"lockpick_result": "t_door_bar_o",
|
||||
"lockpick_message": "The door swings open…",
|
||||
"hacksaw": {
|
||||
"result": "t_mdoor_frame",
|
||||
"duration": "15 minutes",
|
||||
"message": "You finish cutting the metal.",
|
||||
"byproducts": [ { "item": "pipe", "count": 12 } ]
|
||||
},
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "PERMEABLE", "CONNECT_TO_WALL", "LOCKED", "THIN_OBSTACLE", "PICKABLE" ],
|
||||
"examine_action": "locked_object_pickable",
|
||||
"oxytorch": {
|
||||
"result": "t_mdoor_frame",
|
||||
"duration": "14 seconds",
|
||||
"byproducts": [ { "item": "steel_plate", "count": [ 0, 1 ] }, { "item": "steel_chunk", "count": [ 3, 8 ] } ]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 45,
|
||||
"str_min": 30,
|
||||
"str_max": 210,
|
||||
"str_min_blocked": 55,
|
||||
"str_min_blocked": 40,
|
||||
"str_max_blocked": 240,
|
||||
"sound": "metal screeching!",
|
||||
"sound_fail": "clang!",
|
||||
|
||||
@@ -64,28 +64,9 @@
|
||||
"symbol": "+",
|
||||
"color": "cyan",
|
||||
"move_cost": 0,
|
||||
"lockpick_result": "t_chaingate_c",
|
||||
"lockpick_message": "With a satisfying click, the lock on the gate opens.",
|
||||
"boltcut": {
|
||||
"result": "t_chaingate_c",
|
||||
"duration": "1 seconds",
|
||||
"sound": "Gachunk!",
|
||||
"byproducts": [ { "item": "scrap", "count": 3 } ]
|
||||
},
|
||||
"flags": [ "TRANSPARENT", "PERMEABLE", "LOCKED", "PICKABLE", "THIN_OBSTACLE", "BURROWABLE" ],
|
||||
"connects_to": "CHAINFENCE",
|
||||
"examine_action": "locked_object_pickable",
|
||||
"oxytorch": {
|
||||
"result": "t_dirt",
|
||||
"duration": "9 seconds",
|
||||
"byproducts": [ { "item": "pipe", "count": [ 1, 4 ] }, { "item": "wire", "count": [ 4, 16 ] } ]
|
||||
},
|
||||
"hacksaw": {
|
||||
"result": "t_dirt",
|
||||
"duration": "10 minutes",
|
||||
"message": "You finish cutting the metal.",
|
||||
"byproducts": [ { "item": "pipe", "count": 6 }, { "item": "steel_chunk", "count": 20 } ]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 10,
|
||||
"str_max": 150,
|
||||
@@ -107,18 +88,7 @@
|
||||
"move_cost": 0,
|
||||
"flags": [ "TRANSPARENT", "DOOR", "PERMEABLE", "THIN_OBSTACLE", "BURROWABLE" ],
|
||||
"connects_to": "CHAINFENCE",
|
||||
"oxytorch": {
|
||||
"result": "t_dirt",
|
||||
"duration": "9 seconds",
|
||||
"byproducts": [ { "item": "pipe", "count": [ 1, 4 ] }, { "item": "wire", "count": [ 4, 16 ] } ]
|
||||
},
|
||||
"open": "t_chaingate_o",
|
||||
"hacksaw": {
|
||||
"result": "t_dirt",
|
||||
"duration": "10 minutes",
|
||||
"message": "You finish cutting the metal.",
|
||||
"byproducts": [ { "item": "pipe", "count": 6 }, { "item": "steel_chunk", "count": 20 } ]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 10,
|
||||
"str_max": 150,
|
||||
@@ -166,22 +136,9 @@
|
||||
"symbol": "+",
|
||||
"color": "cyan",
|
||||
"move_cost": 0,
|
||||
"hacksaw": {
|
||||
"result": "t_strconc_floor",
|
||||
"duration": "10 minutes",
|
||||
"message": "You finish cutting the metal.",
|
||||
"byproducts": [ { "item": "chain", "count": [ 1, 2 ] }, { "item": "wire", "count": [ 8, 22 ] } ]
|
||||
},
|
||||
"flags": [ "TRANSPARENT", "PERMEABLE", "LOCKED", "PICKABLE", "THIN_OBSTACLE" ],
|
||||
"connects_to": "WALL",
|
||||
"examine_action": "locked_object_pickable",
|
||||
"lockpick_result": "t_retractable_gate_c",
|
||||
"lockpick_message": "With a satisfying click, the lock on the gate opens.",
|
||||
"oxytorch": {
|
||||
"result": "t_strconc_floor",
|
||||
"duration": "9 seconds",
|
||||
"byproducts": [ { "item": "chain", "count": [ 1, 2 ] }, { "item": "wire", "count": [ 8, 22 ] } ]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 17,
|
||||
"str_max": 175,
|
||||
@@ -207,18 +164,7 @@
|
||||
"move_cost": 0,
|
||||
"flags": [ "TRANSPARENT", "DOOR", "PERMEABLE", "THIN_OBSTACLE" ],
|
||||
"connects_to": "WALL",
|
||||
"hacksaw": {
|
||||
"result": "t_strconc_floor",
|
||||
"duration": "10 minutes",
|
||||
"message": "You finish cutting the metal.",
|
||||
"byproducts": [ { "item": "chain", "count": [ 1, 2 ] }, { "item": "wire", "count": [ 8, 22 ] } ]
|
||||
},
|
||||
"open": "t_retractable_gate_o",
|
||||
"oxytorch": {
|
||||
"result": "t_strconc_floor",
|
||||
"duration": "9 seconds",
|
||||
"byproducts": [ { "item": "chain", "count": [ 1, 2 ] }, { "item": "wire", "count": [ 8, 22 ] } ]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 17,
|
||||
"str_max": 175,
|
||||
@@ -491,13 +437,6 @@
|
||||
"sound_fail": "wham.",
|
||||
"ter_set": "t_null",
|
||||
"items": [ { "item": "2x4", "count": [ 1, 3 ] }, { "item": "nail", "charges": [ 2, 6 ] }, { "item": "splinter", "count": 1 } ]
|
||||
},
|
||||
"prying": {
|
||||
"result": "t_fence_post",
|
||||
"duration": "30 seconds",
|
||||
"message": "You pry out the fence post.",
|
||||
"byproducts": [ { "item": "nail", "count": 6 }, { "item": "2x4", "count": 3 } ],
|
||||
"prying_data": { "prying_nails": true }
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -563,26 +502,9 @@
|
||||
"symbol": "LINE_OXOX",
|
||||
"color": "cyan",
|
||||
"move_cost": 0,
|
||||
"boltcut": {
|
||||
"result": "t_chainfence_posts",
|
||||
"duration": "5 seconds",
|
||||
"sound": "Snick, snick, gachunk!",
|
||||
"byproducts": [ { "item": "wire", "count": 20 } ]
|
||||
},
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "THIN_OBSTACLE", "PERMEABLE", "UNSTABLE", "CLIMBABLE", "AUTO_WALL_SYMBOL", "BURROWABLE" ],
|
||||
"connects_to": "CHAINFENCE",
|
||||
"examine_action": "chainfence",
|
||||
"oxytorch": {
|
||||
"result": "t_dirt",
|
||||
"duration": "9 seconds",
|
||||
"byproducts": [ { "item": "pipe", "count": [ 1, 4 ] }, { "item": "wire", "count": [ 4, 16 ] } ]
|
||||
},
|
||||
"hacksaw": {
|
||||
"result": "t_dirt",
|
||||
"duration": "10 minutes",
|
||||
"message": "You finish cutting the metal.",
|
||||
"byproducts": [ { "item": "pipe", "count": 6 }, { "item": "steel_chunk", "count": 20 } ]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 10,
|
||||
"str_max": 150,
|
||||
@@ -600,14 +522,7 @@
|
||||
"symbol": "#",
|
||||
"color": "cyan",
|
||||
"move_cost": 2,
|
||||
"hacksaw": {
|
||||
"result": "t_dirt",
|
||||
"duration": "2 minutes",
|
||||
"message": "You finish cutting the metal.",
|
||||
"byproducts": [ { "item": "pipe", "count": 6 } ]
|
||||
},
|
||||
"flags": [ "TRANSPARENT", "THIN_OBSTACLE" ],
|
||||
"oxytorch": { "result": "t_dirt", "duration": "1 seconds", "byproducts": [ { "item": "pipe", "count": [ 1, 4 ] } ] },
|
||||
"bash": {
|
||||
"str_min": 8,
|
||||
"str_max": 30,
|
||||
@@ -631,7 +546,7 @@
|
||||
"color": "brown",
|
||||
"looks_like": "t_chainfence",
|
||||
"move_cost": 0,
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "PERMEABLE", "AUTO_WALL_SYMBOL", "BURROWABLE", "CLIMBABLE" ],
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "PERMEABLE", "AUTO_WALL_SYMBOL", "BURROWABLE" ],
|
||||
"connects_to": "CHAINFENCE",
|
||||
"examine_action": "chainfence",
|
||||
"deconstruct": {
|
||||
@@ -723,12 +638,6 @@
|
||||
"move_cost": 4,
|
||||
"flags": [ "TRANSPARENT", "THIN_OBSTACLE", "SHORT", "EASY_DECONSTRUCT", "BURROWABLE" ],
|
||||
"deconstruct": { "ter_set": "t_fence_post", "items": [ { "item": "wire", "count": 2 } ] },
|
||||
"boltcut": {
|
||||
"result": "t_fence_post",
|
||||
"duration": "10 seconds",
|
||||
"sound": "Snick, snick, gachunk!",
|
||||
"byproducts": [ { "item": "wire", "count": 2 } ]
|
||||
},
|
||||
"bash": {
|
||||
"str_min": 8,
|
||||
"str_max": 20,
|
||||
@@ -746,12 +655,6 @@
|
||||
"symbol": "$",
|
||||
"color": "blue",
|
||||
"move_cost": 4,
|
||||
"boltcut": {
|
||||
"result": "t_fence_post",
|
||||
"duration": "10 seconds",
|
||||
"sound": "Snick, snick, gachunk!",
|
||||
"byproducts": [ { "item": "wire_barbed", "count": 2 } ]
|
||||
},
|
||||
"flags": [ "TRANSPARENT", "SHARP", "THIN_OBSTACLE", "SHORT", "EASY_DECONSTRUCT", "BURROWABLE" ],
|
||||
"deconstruct": { "ter_set": "t_fence_post", "items": [ { "item": "wire_barbed", "count": 2 } ] },
|
||||
"bash": {
|
||||
@@ -1032,7 +935,7 @@
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_privacy_fencegate_c",
|
||||
"name": "closed wooden privacy gate",
|
||||
"name": "closed wooden split rail gate",
|
||||
"description": "A commercial quality gate made of wood with a latch system.",
|
||||
"symbol": "+",
|
||||
"color": "brown",
|
||||
@@ -1070,7 +973,7 @@
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_privacy_fencegate_o",
|
||||
"name": "open wooden privacy gate",
|
||||
"name": "open wooden split rail gate",
|
||||
"description": "A commercial quality gate made of wood with a latch system. The gate is wide open, allowing anything to travel through.",
|
||||
"symbol": ".",
|
||||
"color": "brown",
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
"description": "A bare and cold concrete floor with matching roof, could still insulate from the outdoors but roof collapse is possible if supporting walls are broken down.",
|
||||
"symbol": ".",
|
||||
"color": "cyan",
|
||||
"connects_to": "CONCRETE",
|
||||
"move_cost": 2,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD" ],
|
||||
@@ -31,7 +30,6 @@
|
||||
"symbol": ".",
|
||||
"color": "yellow",
|
||||
"looks_like": "t_pavement_y",
|
||||
"connects_to": "CONCRETE",
|
||||
"move_cost": 2,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD" ],
|
||||
@@ -55,38 +53,11 @@
|
||||
"description": "A bare and cold concrete floor with a streak of red paint, could still insulate from the outdoors but roof collapse is possible if supporting walls are broken down.",
|
||||
"symbol": ".",
|
||||
"color": "red",
|
||||
"connects_to": "CONCRETE",
|
||||
"looks_like": "t_floor_red",
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD" ],
|
||||
"move_cost": 2,
|
||||
"roof": "t_flat_roof",
|
||||
"copy-from": "t_thconc_floor"
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_thconc_y_olight",
|
||||
"name": "concrete floor",
|
||||
"description": "A bare and cold concrete floor with a streak of yellow paint and a still-functioning light attached to the ceiling above, could still insulate from the outdoors but roof collapse is possible if supporting walls are broken down.",
|
||||
"symbol": ".",
|
||||
"color": "yellow",
|
||||
"light_emitted": 120,
|
||||
"looks_like": "t_thconc_y",
|
||||
"connects_to": "CONCRETE",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "INDOORS", "FLAT", "ROAD" ],
|
||||
"roof": "t_flat_roof",
|
||||
"copy-from": "t_thconc_floor",
|
||||
"bash": {
|
||||
"str_min": 4,
|
||||
"str_max": 12,
|
||||
"sound": "glass breaking!",
|
||||
"sound_fail": "whack!",
|
||||
"sound_vol": 16,
|
||||
"sound_fail_vol": 10,
|
||||
"ter_set": "t_thconc_y",
|
||||
"items": [ { "item": "glass_shard", "count": [ 8, 16 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_thconc_floor_olight",
|
||||
@@ -94,7 +65,6 @@
|
||||
"description": "A bare and cold concrete floor with a still-functioning light attached to the ceiling above.",
|
||||
"symbol": ".",
|
||||
"color": "white",
|
||||
"connects_to": "CONCRETE",
|
||||
"move_cost": 2,
|
||||
"light_emitted": 120,
|
||||
"roof": "t_flat_roof",
|
||||
@@ -108,8 +78,7 @@
|
||||
"sound_fail_vol": 10,
|
||||
"ter_set": "t_thconc_floor",
|
||||
"items": [ { "item": "glass_shard", "count": [ 8, 16 ] } ]
|
||||
},
|
||||
"shoot": { "chance_to_hit": 0, "reduce_damage": [ 0, 0 ], "reduce_damage_laser": [ 0, 0 ], "destroy_damage": [ 2, 8 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -118,7 +87,6 @@
|
||||
"description": "Interlocking wooden tiles that are more than likely treated against fire, with a still-functioning light attached to the ceiling above.",
|
||||
"symbol": ".",
|
||||
"color": "white",
|
||||
"connects_to": "WOODFLOOR",
|
||||
"move_cost": 2,
|
||||
"light_emitted": 120,
|
||||
"roof": "t_flat_roof",
|
||||
@@ -144,14 +112,13 @@
|
||||
"description": "High-quality and tough checkered flooring to reduce risk of slips and falls, with a still-functioning light attached to the ceiling above.",
|
||||
"symbol": ".",
|
||||
"color": "light_cyan",
|
||||
"connects_to": "METALFLOOR",
|
||||
"move_cost": 2,
|
||||
"light_emitted": 120,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "INDOORS", "FLAT", "ROAD" ],
|
||||
"bash": {
|
||||
"sound": "thump",
|
||||
"ter_set": "t_metal_floor",
|
||||
"ter_set": "t_null",
|
||||
"str_min": 200,
|
||||
"str_max": 500,
|
||||
"str_min_supported": 200,
|
||||
@@ -163,78 +130,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_strconc_floor_olight",
|
||||
"name": "strong concrete floor, overhead light",
|
||||
"description": "Extremely resilient floor made from carefully placed rebar and poured concrete with a still-functioning light attached to the ceiling above.",
|
||||
"symbol": ".",
|
||||
"color": "white",
|
||||
"connects_to": "CONCRETE",
|
||||
"move_cost": 2,
|
||||
"light_emitted": 120,
|
||||
"roof": "t_flat_roof",
|
||||
"looks_like": "t_thconc_floor_olight",
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "INDOORS", "FLAT", "ROAD" ],
|
||||
"bash": {
|
||||
"str_min": 4,
|
||||
"str_max": 12,
|
||||
"sound": "glass breaking!",
|
||||
"sound_fail": "whack!",
|
||||
"sound_vol": 16,
|
||||
"sound_fail_vol": 10,
|
||||
"ter_set": "t_strconc_floor",
|
||||
"items": [ { "item": "glass_shard", "count": [ 8, 16 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_linoleum_gray_floor_olight",
|
||||
"name": "gray linoleum floor, overhead light",
|
||||
"description": "Linoleum flooring with a still-functioning light attached to the ceiling above.",
|
||||
"symbol": ".",
|
||||
"color": "white",
|
||||
"connects_to": "LINOLEUM",
|
||||
"move_cost": 2,
|
||||
"light_emitted": 120,
|
||||
"roof": "t_flat_roof",
|
||||
"looks_like": "t_linoleum_gray",
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "INDOORS", "FLAT", "ROAD" ],
|
||||
"bash": {
|
||||
"str_min": 4,
|
||||
"str_max": 12,
|
||||
"sound": "glass breaking!",
|
||||
"sound_fail": "whack!",
|
||||
"sound_vol": 16,
|
||||
"sound_fail_vol": 10,
|
||||
"ter_set": "t_linoleum_gray",
|
||||
"items": [ { "item": "glass_shard", "count": [ 8, 16 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_linoleum_whitefloor_olight",
|
||||
"name": "white linoleum floor, overhead light",
|
||||
"description": "Linoleum flooring with a still-functioning light attached to the ceiling above.",
|
||||
"symbol": ".",
|
||||
"color": "white",
|
||||
"connects_to": "LINOLEUM",
|
||||
"move_cost": 2,
|
||||
"light_emitted": 120,
|
||||
"roof": "t_flat_roof",
|
||||
"looks_like": "t_linoleum_white",
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "INDOORS", "FLAT", "ROAD" ],
|
||||
"bash": {
|
||||
"str_min": 4,
|
||||
"str_max": 12,
|
||||
"sound": "glass breaking!",
|
||||
"sound_fail": "whack!",
|
||||
"sound_vol": 16,
|
||||
"sound_fail_vol": 10,
|
||||
"ter_set": "t_linoleum_white",
|
||||
"items": [ { "item": "glass_shard", "count": [ 8, 16 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_ov_smreb_cage",
|
||||
@@ -261,7 +156,6 @@
|
||||
"description": "Extremely resilient floor made from carefully placed rebar and poured concrete, capable of providing protection from the elements. As for the matching roof, it still requires supporting walls, otherwise it may very well cave in.",
|
||||
"symbol": ".",
|
||||
"color": "cyan",
|
||||
"connects_to": "CONCRETE",
|
||||
"move_cost": 2,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD" ],
|
||||
@@ -325,7 +219,6 @@
|
||||
"description": "A relatively flat area of rock and stone. Looks stable enough to be mined with the proper mining gear.",
|
||||
"symbol": ".",
|
||||
"color": "light_gray",
|
||||
"connects_to": "ROCKFLOOR",
|
||||
"move_cost": 2,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "INDOORS", "COLLAPSES", "SUPPORTS_ROOF", "FLAT", "ROAD" ],
|
||||
@@ -338,7 +231,6 @@
|
||||
"description": "High-quality and tough checkered flooring to reduce risk of slips and falls, with a matching roof.",
|
||||
"symbol": ".",
|
||||
"color": "light_cyan",
|
||||
"connects_to": "METALFLOOR",
|
||||
"move_cost": 2,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "INDOORS", "FLAT", "ROAD" ],
|
||||
@@ -355,29 +247,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_broken_metal_floor",
|
||||
"name": "broken metal floor",
|
||||
"description": "Something has cratered this metal flooring. It will be difficult to move things across.",
|
||||
"symbol": ".",
|
||||
"color": "light_cyan",
|
||||
"move_cost": 2,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "INDOORS" ],
|
||||
"bash": {
|
||||
"sound": "thump",
|
||||
"ter_set": "t_null",
|
||||
"str_min": 200,
|
||||
"str_max": 500,
|
||||
"str_min_supported": 200,
|
||||
"items": [
|
||||
{ "item": "steel_lump", "count": [ 1, 4 ] },
|
||||
{ "item": "steel_chunk", "count": [ 3, 12 ] },
|
||||
{ "item": "scrap", "count": [ 9, 36 ] }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_floor",
|
||||
@@ -385,7 +254,6 @@
|
||||
"description": "Interlocking wooden tiles that are more than likely treated against fire, with wooden posts and beams supporting a roof.",
|
||||
"symbol": ".",
|
||||
"color": "cyan",
|
||||
"connects_to": "WOODFLOOR",
|
||||
"move_cost": 2,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD" ],
|
||||
@@ -447,7 +315,6 @@
|
||||
"description": "Hardwood flooring that has been treated with chemicals to improve slip resistance and sliding, commonly for recreational sports.",
|
||||
"symbol": ".",
|
||||
"color": "light_red",
|
||||
"connects_to": "WOODFLOOR",
|
||||
"move_cost": 2,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD" ],
|
||||
@@ -467,7 +334,6 @@
|
||||
"description": "Floor consisting of finely mixed earth that has been tamped down, with a wooden ceiling above it.",
|
||||
"symbol": ".",
|
||||
"color": "brown",
|
||||
"connects_to": "DIRT",
|
||||
"move_cost": 2,
|
||||
"roof": "t_shingle_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "DIGGABLE" ],
|
||||
@@ -487,7 +353,6 @@
|
||||
"description": "Floor consisting of finely mixed earth that has been tamped down, with thatched roof above it.",
|
||||
"symbol": ".",
|
||||
"color": "brown",
|
||||
"connects_to": "DIRT",
|
||||
"move_cost": 2,
|
||||
"roof": "t_thatch_roof",
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "DIGGABLE" ],
|
||||
@@ -517,7 +382,6 @@
|
||||
"description": "An industrial flood light set up to illuminate the surroundings. Smashing it doesn't seem like it'd produce any worthwhile salvage.",
|
||||
"symbol": ".",
|
||||
"color": "white",
|
||||
"connects_to": "WOODFLOOR",
|
||||
"move_cost": 2,
|
||||
"roof": "t_flat_roof",
|
||||
"light_emitted": 240,
|
||||
@@ -609,7 +473,6 @@
|
||||
"name": "carpet",
|
||||
"symbol": ".",
|
||||
"color": "red",
|
||||
"connects_to": "CARPET",
|
||||
"move_cost": 2,
|
||||
"roof": "t_flat_roof",
|
||||
"description": "Soft red carpet.",
|
||||
@@ -804,7 +667,6 @@
|
||||
"description": "A section of flooring made out of a tough, rubbery material. Colored a simple white.",
|
||||
"symbol": ".",
|
||||
"color": "white",
|
||||
"connects_to": "LINOLEUM",
|
||||
"move_cost": 2,
|
||||
"roof": "t_flat_roof",
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD" ],
|
||||
@@ -825,7 +687,6 @@
|
||||
"description": "A section of flooring made out of a tough, gray, rubbery material.",
|
||||
"symbol": ".",
|
||||
"color": "light_gray",
|
||||
"connects_to": "LINOLEUM",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD" ],
|
||||
"bash": {
|
||||
@@ -844,7 +705,6 @@
|
||||
"description": "This section of wax flooring has been painted.",
|
||||
"symbol": ".",
|
||||
"color": "yellow",
|
||||
"connects_to": "WOODFLOOR",
|
||||
"move_cost": 2,
|
||||
"roof": "t_flat_roof",
|
||||
"bash": {
|
||||
@@ -918,7 +778,6 @@
|
||||
"description": "It's dirt. Looks like some fine soil for tillage. Could also be dug out for construction projects.",
|
||||
"symbol": ".",
|
||||
"color": "brown",
|
||||
"connects_to": "DIRT",
|
||||
"move_cost": 2,
|
||||
"looks_like": "t_dirt",
|
||||
"roof": "t_rock_roof",
|
||||
@@ -934,7 +793,6 @@
|
||||
"symbol": ".",
|
||||
"color": "yellow",
|
||||
"looks_like": "t_sand",
|
||||
"connects_to": "SAND",
|
||||
"move_cost": 3,
|
||||
"roof": "t_rock_roof",
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "INDOORS", "FLAT", "DIGGABLE" ],
|
||||
@@ -976,7 +834,6 @@
|
||||
"description": "A field full of malleable clay, suitable for kiln firing if it was extracted properly.",
|
||||
"symbol": ".",
|
||||
"color": "light_red",
|
||||
"connects_to": "CLAY",
|
||||
"move_cost": 2,
|
||||
"roof": "t_rock_roof",
|
||||
"flags": [ "TRANSPARENT", "DIGGABLE", "FLAT", "SUPPORTS_ROOF", "INDOORS" ],
|
||||
@@ -990,7 +847,6 @@
|
||||
"//": "for caverns and other natural underground formations.",
|
||||
"symbol": "#",
|
||||
"color": "brown",
|
||||
"connects_to": "CLAY",
|
||||
"move_cost": 5,
|
||||
"roof": "t_rock_roof",
|
||||
"flags": [ "TRANSPARENT", "BURROWABLE", "SUPPORTS_ROOF", "INDOORS" ],
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
"description": "It's dirt. Looks like some fine soil for tillage. Could also be dug out for construction projects.",
|
||||
"symbol": ".",
|
||||
"color": "brown",
|
||||
"connects_to": "DIRT",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "DIGGABLE", "FLAT", "PLOWABLE" ],
|
||||
"bash": { "sound": "thump", "ter_set": "t_null", "str_min": 50, "str_max": 100, "str_min_supported": 100, "bash_below": true }
|
||||
@@ -19,7 +18,6 @@
|
||||
"symbol": ".",
|
||||
"color": "yellow",
|
||||
"move_cost": 3,
|
||||
"connects_to": "SAND",
|
||||
"flags": [ "TRANSPARENT", "DIGGABLE", "FLAT" ],
|
||||
"bash": { "sound": "thump", "ter_set": "t_null", "str_min": 50, "str_max": 100, "str_min_supported": 100, "bash_below": true }
|
||||
},
|
||||
@@ -42,7 +40,6 @@
|
||||
"description": "A field full of malleable clay, suitable for kiln firing if it was extracted properly.",
|
||||
"symbol": ".",
|
||||
"color": "light_red",
|
||||
"connects_to": "CLAY",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "DIGGABLE", "FLAT" ],
|
||||
"bash": { "sound": "thump", "ter_set": "t_null", "str_min": 50, "str_max": 100, "str_min_supported": 100, "bash_below": true }
|
||||
@@ -55,7 +52,6 @@
|
||||
"looks_like": "t_dirtmound",
|
||||
"symbol": "#",
|
||||
"color": "brown",
|
||||
"connects_to": "CLAY",
|
||||
"move_cost": 5,
|
||||
"flags": [ "TRANSPARENT", "BURROWABLE" ],
|
||||
"bash": {
|
||||
@@ -75,7 +71,6 @@
|
||||
"looks_like": "t_dirtmound",
|
||||
"symbol": "#",
|
||||
"color": "brown",
|
||||
"connects_to": "SAND",
|
||||
"move_cost": 5,
|
||||
"flags": [ "TRANSPARENT", "BURROWABLE" ],
|
||||
"bash": {
|
||||
@@ -87,19 +82,6 @@
|
||||
"items": [ { "item": "material_sand", "charges": [ 300, 600 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_glassed_sand",
|
||||
"name": "glassed sand",
|
||||
"description": "A patch of sand that has a crust of natural glass atop it, after exposure to intense heat.",
|
||||
"looks_like": "t_sand",
|
||||
"symbol": "~",
|
||||
"color": "brown",
|
||||
"connects_to": "SAND",
|
||||
"move_cost": 3,
|
||||
"flags": [ "TRANSPARENT", "DIGGABLE", "FLAT" ],
|
||||
"bash": { "sound": "crunch", "ter_set": "t_sand", "str_min": 25, "str_max": 100, "str_min_supported": 100, "bash_below": true }
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_dirtmound",
|
||||
@@ -107,7 +89,6 @@
|
||||
"description": "An area of heaped dirt, not easily traversable. If examined more closely, it's quite favorable for planting seeds and the like.",
|
||||
"symbol": "#",
|
||||
"color": "brown",
|
||||
"connects_to": "DIRT",
|
||||
"move_cost": 3,
|
||||
"flags": [ "TRANSPARENT", "DIGGABLE", "MOUNTABLE", "NOCOLLIDE", "PLANTABLE" ],
|
||||
"bash": { "sound": "thump", "ter_set": "t_null", "str_min": 50, "str_max": 100, "str_min_supported": 100 },
|
||||
@@ -121,7 +102,6 @@
|
||||
"looks_like": "t_dirtmound",
|
||||
"symbol": "#",
|
||||
"color": "brown",
|
||||
"connects_to": "DIRT",
|
||||
"move_cost": 3,
|
||||
"coverage": 40,
|
||||
"flags": [ "TRANSPARENT", "DIGGABLE", "MOUNTABLE", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS" ],
|
||||
@@ -146,20 +126,7 @@
|
||||
"move_cost": 0,
|
||||
"roof": "t_rock_floor",
|
||||
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL" ],
|
||||
"examine_action": {
|
||||
"type": "effect_on_condition",
|
||||
"effect_on_conditions": [
|
||||
{
|
||||
"id": "EOC_TERRAIN_FAULT",
|
||||
"effect": [
|
||||
{
|
||||
"u_message": "This wall is perfectly vertical. Odd, twisted holes are set in it, leading as far back into the solid rock as you can see. The holes are humanoid in shape, but with long, twisted, distended limbs.",
|
||||
"popup": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
"examine_action": "fault"
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -193,7 +160,6 @@
|
||||
"symbol": ".",
|
||||
"color": "light_gray",
|
||||
"looks_like": "t_rock_floor",
|
||||
"connects_to": "ROCKFLOOR",
|
||||
"move_cost": 2,
|
||||
"roof": "t_open_air",
|
||||
"flags": [ "TRANSPARENT", "FLAT", "ROAD" ],
|
||||
@@ -262,7 +228,6 @@
|
||||
"symbol": ".",
|
||||
"color": "light_gray",
|
||||
"looks_like": "t_concrete",
|
||||
"connects_to": "CONCRETE",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "FLAT", "ROAD", "MINEABLE" ],
|
||||
"bash": {
|
||||
@@ -281,7 +246,6 @@
|
||||
"symbol": ".",
|
||||
"color": "light_gray",
|
||||
"looks_like": "t_pavement",
|
||||
"connects_to": "CONCRETE",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "FLAT", "ROAD", "MINEABLE" ],
|
||||
"bash": {
|
||||
@@ -300,7 +264,6 @@
|
||||
"symbol": ".",
|
||||
"color": "yellow",
|
||||
"looks_like": "t_pavement_y",
|
||||
"connects_to": "CONCRETE",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "FLAT", "ROAD", "MINEABLE" ],
|
||||
"bash": {
|
||||
@@ -338,7 +301,6 @@
|
||||
"description": "High-quality and tough checkered flooring to reduce risk of slips and falls.",
|
||||
"symbol": ".",
|
||||
"color": "light_cyan",
|
||||
"connects_to": "METALFLOOR",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "FLAT", "ROAD" ],
|
||||
"bash": {
|
||||
@@ -362,7 +324,6 @@
|
||||
"description": "A section of flooring made out of a tough, rubbery material. Colored a simple white.",
|
||||
"symbol": ".",
|
||||
"color": "white",
|
||||
"connects_to": "LINOLEUM",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "FLAT", "ROAD" ],
|
||||
"bash": {
|
||||
@@ -382,7 +343,6 @@
|
||||
"description": "A section of flooring made out of a tough, gray, rubbery material.",
|
||||
"symbol": ".",
|
||||
"color": "light_gray",
|
||||
"connects_to": "LINOLEUM",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_HARD", "FLAT", "ROAD" ],
|
||||
"bash": {
|
||||
@@ -401,33 +361,9 @@
|
||||
"description": "Floor consisting of finely mixed earth that has been tamped down.",
|
||||
"symbol": ".",
|
||||
"color": "brown",
|
||||
"connects_to": "DIRT",
|
||||
"move_cost": 2,
|
||||
"looks_like": "t_dirtfloor",
|
||||
"flags": [ "TRANSPARENT", "FLAT", "DIGGABLE" ],
|
||||
"bash": { "sound": "SMASH!", "ter_set": "t_null", "str_min": 50, "str_max": 400, "str_min_supported": 100, "bash_below": true }
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_gelatinous_groundcover",
|
||||
"name": "gelatinous ground",
|
||||
"description": "An incursion of a large area of otherwordly substrate, it feels like walking on hardened gelatin.",
|
||||
"symbol": ".",
|
||||
"color": "pink",
|
||||
"move_cost": 5,
|
||||
"flags": [ "TRANSPARENT", "FLAT" ],
|
||||
"bash": { "sound": "thump", "ter_set": "t_null", "str_min": 50, "str_max": 100, "str_min_supported": 100, "bash_below": true }
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_orifice",
|
||||
"name": "orifice",
|
||||
"description": "A large round orifice with trails of fresh and dried up strange green liquid with a strong acid odor covering its inner sides.",
|
||||
"symbol": "O",
|
||||
"color": "green",
|
||||
"looks_like": "t_pit",
|
||||
"move_cost": 0,
|
||||
"roof": "t_rock_floor",
|
||||
"flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL" ]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
"looks_like": "t_tree",
|
||||
"description": "A deciduous tree of the genus 'Quercus', with bark cracked into rectangular black plates split by narrow orange fissures. You could peel off the bark sections if you examined the tree more closely. You could cut it down with the right tools.",
|
||||
"symbol": "7",
|
||||
"color": "yellow",
|
||||
"color": "brown",
|
||||
"move_cost": 0,
|
||||
"coverage": 80,
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
@@ -73,7 +73,7 @@
|
||||
"description": "A deciduous tree of the genus 'Quercus', with bark cracked into rectangular black plates split by narrow orange fissures. All usable bark has been stripped off. You could cut it down with the right tools.",
|
||||
"name": "blackjack oak",
|
||||
"symbol": "7",
|
||||
"color": "brown",
|
||||
"color": "green",
|
||||
"move_cost": 0,
|
||||
"coverage": 80,
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "TREE", "REDUCE_SCENT" ],
|
||||
@@ -344,26 +344,6 @@
|
||||
"items": [ { "item": "stick_long", "count": [ 0, 5 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_mega_fern",
|
||||
"name": "mega fern",
|
||||
"looks_like": "t_tree_young",
|
||||
"description": "A gigantic fern like nothing you've seen before. The leaves are a bright scarlet color with a net like structure of green veins. The multipronged trunks appear to have the consistency of balsa wood.",
|
||||
"symbol": "1",
|
||||
"color": [ "red_green", "red_green", "red_green", "brown" ],
|
||||
"//": "barren in winter",
|
||||
"move_cost": 4,
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "NOITEM", "YOUNG", "REDUCE_SCENT" ],
|
||||
"bash": {
|
||||
"str_min": 4,
|
||||
"str_max": 50,
|
||||
"sound": "crunch!",
|
||||
"sound_fail": "whack!",
|
||||
"ter_set": "t_dirt",
|
||||
"items": [ { "item": "alien_fern", "count": [ 0, 5 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_tree_apple",
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"color": "pink",
|
||||
"move_cost": 8,
|
||||
"coverage": 40,
|
||||
"flags": [ "TRANSPARENT", "FUNGUS", "SHRUB", "SHORT" ],
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "FUNGUS", "SHRUB", "SHORT" ],
|
||||
"examine_action": "shrub_marloss",
|
||||
"bash": { "str_min": 4, "str_max": 60, "sound": "crunch.", "sound_fail": "poof!", "ter_set": "t_fungus" }
|
||||
},
|
||||
@@ -20,7 +20,7 @@
|
||||
"symbol": ".",
|
||||
"color": "light_gray",
|
||||
"move_cost": 3,
|
||||
"flags": [ "TRANSPARENT", "DIGGABLE", "FUNGUS", "NOCOLLIDE" ],
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "DIGGABLE", "FUNGUS", "NOCOLLIDE" ],
|
||||
"bash": {
|
||||
"sound": "smash",
|
||||
"//": "muffled because fungus",
|
||||
@@ -39,7 +39,7 @@
|
||||
"symbol": ".",
|
||||
"color": "light_gray",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "FUNGUS" ],
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "FUNGUS" ],
|
||||
"bash": { "sound": "smash", "ter_set": "t_null", "str_min": 20, "str_max": 400, "str_min_supported": 50 }
|
||||
},
|
||||
{
|
||||
@@ -51,7 +51,7 @@
|
||||
"symbol": ".",
|
||||
"color": "light_gray",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "FLAT", "FUNGUS" ],
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "SUPPORTS_ROOF", "FLAT", "FUNGUS" ],
|
||||
"bash": { "sound": "smash", "ter_set": "t_null", "str_min": 20, "str_max": 400, "str_min_supported": 50 }
|
||||
},
|
||||
{
|
||||
@@ -63,7 +63,7 @@
|
||||
"symbol": ".",
|
||||
"color": "light_gray",
|
||||
"move_cost": 2,
|
||||
"flags": [ "TRANSPARENT", "FLAT", "FUNGUS" ],
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "FLAT", "FUNGUS" ],
|
||||
"bash": { "sound": "SMASH!", "ter_set": "t_null", "str_min": 20, "str_max": 400, "str_min_supported": 50 }
|
||||
},
|
||||
{
|
||||
@@ -76,7 +76,7 @@
|
||||
"color": "dark_gray",
|
||||
"move_cost": 0,
|
||||
"coverage": 100,
|
||||
"flags": [ "NOITEM", "SUPPORTS_ROOF", "FUNGUS", "WALL", "REDUCE_SCENT", "MINEABLE" ],
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "FUNGUS", "WALL", "REDUCE_SCENT", "MINEABLE" ],
|
||||
"bash": { "str_min": 30, "str_max": 180, "sound": "crunch!", "sound_fail": "poof!", "ter_set": "t_fungus" }
|
||||
},
|
||||
{
|
||||
@@ -88,7 +88,7 @@
|
||||
"color": "dark_gray",
|
||||
"move_cost": 0,
|
||||
"coverage": 100,
|
||||
"flags": [ "NOITEM", "SUPPORTS_ROOF", "FUNGUS", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE" ],
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "FUNGUS", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE" ],
|
||||
"bash": { "str_min": 30, "str_max": 180, "sound": "crunch!", "sound_fail": "poof!", "ter_set": "t_fungus" }
|
||||
},
|
||||
{
|
||||
@@ -99,7 +99,7 @@
|
||||
"symbol": "#",
|
||||
"color": "light_gray",
|
||||
"move_cost": 4,
|
||||
"flags": [ "TRANSPARENT", "THIN_OBSTACLE", "FUNGUS", "MOUNTABLE" ],
|
||||
"flags": [ "TRANSPARENT", "THIN_OBSTACLE", "FLAMMABLE_ASH", "FUNGUS", "MOUNTABLE" ],
|
||||
"bash": { "str_min": 10, "str_max": 70, "sound": "crunch!", "sound_fail": "poof!", "ter_set": "t_fungus" }
|
||||
},
|
||||
{
|
||||
@@ -111,7 +111,7 @@
|
||||
"color": "dark_gray",
|
||||
"move_cost": 8,
|
||||
"coverage": 40,
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "THIN_OBSTACLE", "PLACE_ITEM", "SHRUB", "FUNGUS", "SHORT" ],
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "FLAMMABLE_ASH", "THIN_OBSTACLE", "PLACE_ITEM", "SHRUB", "FUNGUS", "SHORT" ],
|
||||
"bash": { "str_min": 4, "str_max": 60, "sound": "crunch.", "sound_fail": "poof!", "ter_set": "t_fungus" }
|
||||
},
|
||||
{
|
||||
@@ -123,7 +123,7 @@
|
||||
"color": "dark_gray",
|
||||
"move_cost": 0,
|
||||
"coverage": 80,
|
||||
"flags": [ "NOITEM", "FUNGUS", "TREE", "REDUCE_SCENT" ],
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "FUNGUS", "TREE", "REDUCE_SCENT" ],
|
||||
"bash": { "str_min": 40, "str_max": 180, "sound": "crunch!", "sound_fail": "poof!", "ter_set": "t_fungus" }
|
||||
},
|
||||
{
|
||||
@@ -134,7 +134,7 @@
|
||||
"symbol": "1",
|
||||
"color": "dark_gray",
|
||||
"move_cost": 4,
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "FUNGUS", "YOUNG", "REDUCE_SCENT" ],
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "NOITEM", "FUNGUS", "YOUNG", "REDUCE_SCENT" ],
|
||||
"bash": { "str_min": 4, "str_max": 50, "sound": "crunch!", "sound_fail": "poof!", "ter_set": "t_fungus" }
|
||||
},
|
||||
{
|
||||
@@ -146,7 +146,7 @@
|
||||
"color": "pink",
|
||||
"move_cost": 0,
|
||||
"coverage": 80,
|
||||
"flags": [ "NOITEM", "FUNGUS", "TREE", "REDUCE_SCENT" ],
|
||||
"flags": [ "FLAMMABLE_ASH", "NOITEM", "FUNGUS", "TREE", "REDUCE_SCENT" ],
|
||||
"examine_action": "tree_marloss",
|
||||
"bash": { "str_min": 40, "str_max": 180, "sound": "crunch!", "sound_fail": "poof!", "ter_set": "t_fungus" }
|
||||
}
|
||||
|
||||
@@ -265,17 +265,11 @@
|
||||
"bash": {
|
||||
"str_min": 40,
|
||||
"str_max": 210,
|
||||
"sound": "metal screeching!",
|
||||
"explosive": 5,
|
||||
"sound": "Critical failure imminent, self destruct activated. Have a nice day!",
|
||||
"sound_fail": "clang!",
|
||||
"ter_set": "t_floor",
|
||||
"items": [
|
||||
{ "item": "steel_chunk", "count": [ 1, 3 ] },
|
||||
{ "item": "scrap", "count": [ 4, 8 ] },
|
||||
{ "item": "money_strap_twenty", "count": [ 1, 59 ] },
|
||||
{ "item": "money_strap_fifty", "count": [ 1, 39 ] },
|
||||
{ "item": "money_twenty", "count": [ 1, 99 ] },
|
||||
{ "item": "money_fifty", "count": [ 1, 99 ] }
|
||||
]
|
||||
"items": [ { "item": "steel_chunk", "count": [ 1, 3 ] }, { "item": "scrap", "count": [ 4, 8 ] } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -630,8 +624,7 @@
|
||||
"sound_fail_vol": 12,
|
||||
"ter_set": "t_floor",
|
||||
"items": [ { "item": "glass_shard", "count": [ 42, 84 ] }, { "item": "scrap", "count": [ 0, 2 ] } ]
|
||||
},
|
||||
"shoot": { "chance_to_hit": 50, "reduce_damage": [ 50, 70 ], "reduce_damage_laser": [ 2, 12 ], "destroy_damage": [ 5, 30 ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -661,8 +654,7 @@
|
||||
{ "item": "power_supply", "prob": 25 },
|
||||
{ "item": "amplifier", "prob": 25 },
|
||||
{ "item": "plastic_chunk", "count": [ 4, 10 ], "prob": 50 },
|
||||
{ "item": "scrap", "count": [ 2, 6 ], "prob": 50 },
|
||||
{ "item": "coin_quarter", "count": [ 1, 1500 ] }
|
||||
{ "item": "scrap", "count": [ 2, 6 ], "prob": 50 }
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -1101,7 +1093,7 @@
|
||||
"symbol": "=",
|
||||
"color": "brown",
|
||||
"move_cost": 6,
|
||||
"flags": [ "TRANSPARENT", "PLACE_ITEM", "INDOORS" ],
|
||||
"flags": [ "TRANSPARENT", "BASHABLE", "PLACE_ITEM", "INDOORS" ],
|
||||
"coverage": 30,
|
||||
"deconstruct": {
|
||||
"ter_set": "t_rock_floor",
|
||||
@@ -1188,7 +1180,7 @@
|
||||
{ "item": "steel_chunk", "count": [ 1, 10 ] }
|
||||
]
|
||||
},
|
||||
"flags": [ "CONTAINER", "SEALED", "PLACE_ITEM", "WALL", "MINEABLE" ]
|
||||
"flags": [ "BASHABLE", "CONTAINER", "SEALED", "PLACE_ITEM", "WALL", "MINEABLE" ]
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
@@ -1199,7 +1191,7 @@
|
||||
"color": "green",
|
||||
"looks_like": "t_pit",
|
||||
"move_cost": 0,
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "PLACE_ITEM", "INDOORS" ],
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "PLACE_ITEM", "INDOORS", "DECONSTRUCT" ],
|
||||
"deconstruct": { "ter_set": "t_pit", "items": [ { "item": "rock", "count": 40 }, { "item": "stick", "count": [ 16, 16 ] } ] },
|
||||
"bash": {
|
||||
"str_min": 18,
|
||||
|
||||
@@ -342,294 +342,6 @@
|
||||
"items": [ { "item": "plastic_chunk", "count": [ 0, 2 ] }, { "item": "scrap", "prob": 50 } ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_card_science_visitor",
|
||||
"name": "Facility entrance card reader",
|
||||
"description": "This is a smartcard reader. It sports the stylized symbol of an atom inside a flask that is universally known to indicate SCIENCE. You could swipe a Visitor's Pass near it to unlock the gates.",
|
||||
"//": "Entrance card for a lab. Low security access.",
|
||||
"symbol": "6",
|
||||
"color": "cyan",
|
||||
"copy-from": "t_card_science",
|
||||
"looks_like": "t_card_science",
|
||||
"examine_action": {
|
||||
"type": "cardreader",
|
||||
"flags": [ "SCIENCE_CARD_VISITOR" ],
|
||||
"consume_card": true,
|
||||
"allow_hacking": true,
|
||||
"despawn_monsters": true,
|
||||
"radius": 3,
|
||||
"terrain_changes": { "t_door_metal_locked": "t_door_metal_c" },
|
||||
"query": true,
|
||||
"query_msg": "Are you sure you want to open this door?",
|
||||
"success_msg": "You opened the door!",
|
||||
"redundant_msg": "The door is already open."
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_card_science_maintenance_green",
|
||||
"name": "Maintenance: green zone card reader",
|
||||
"description": "This is a smartcard reader. It sports the stylized symbol of an atom and a wrench on a green background. You could swipe a maintenance employee badge near it to unlock the gates.",
|
||||
"//": "Entrance card for a lab. Low security access.",
|
||||
"symbol": "6",
|
||||
"color": "green",
|
||||
"copy-from": "t_card_science",
|
||||
"looks_like": "t_card_science",
|
||||
"examine_action": {
|
||||
"type": "cardreader",
|
||||
"flags": [ "SCIENCE_CARD_MAINTENANCE_GREEN" ],
|
||||
"consume_card": false,
|
||||
"allow_hacking": false,
|
||||
"despawn_monsters": true,
|
||||
"radius": 7,
|
||||
"terrain_changes": { "t_door_metal_locked": "t_thconc_floor" },
|
||||
"query": true,
|
||||
"query_msg": "Are you sure you want to open this gate?",
|
||||
"success_msg": "You opened the gate!",
|
||||
"redundant_msg": "The gate is already open."
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_card_science_maintenance_yellow",
|
||||
"name": "Maintenance: yellow zone card reader",
|
||||
"description": "This is a smartcard reader. It sports the stylized symbol of an atom and a wrench on a yellow background. You could swipe a maintenance employee badge near it to unlock the gates.",
|
||||
"//": "Tier 2 card for a lab. Medium security access.",
|
||||
"symbol": "6",
|
||||
"color": "yellow",
|
||||
"copy-from": "t_card_science",
|
||||
"looks_like": "t_card_science",
|
||||
"examine_action": {
|
||||
"type": "cardreader",
|
||||
"flags": [ "SCIENCE_CARD_MAINTENANCE_YELLOW" ],
|
||||
"consume_card": false,
|
||||
"allow_hacking": true,
|
||||
"despawn_monsters": false,
|
||||
"radius": 3,
|
||||
"terrain_changes": { "t_door_metal_locked": "t_door_metal_c" },
|
||||
"query": true,
|
||||
"query_msg": "Are you sure you want to open this door?",
|
||||
"success_msg": "You opened the door!",
|
||||
"redundant_msg": "The door is already open."
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_card_science_maintenance_blue",
|
||||
"name": "Maintenance: blue zone card reader",
|
||||
"description": "This is a smartcard reader. It sports the stylized symbol of an atom and a wrench on a blue background. You could swipe a maintenance employee badge near it to unlock the gates.",
|
||||
"//": "Tier 3 card for a lab. High security access.",
|
||||
"symbol": "6",
|
||||
"color": "blue",
|
||||
"copy-from": "t_card_science",
|
||||
"looks_like": "t_card_science",
|
||||
"examine_action": {
|
||||
"type": "cardreader",
|
||||
"flags": [ "SCIENCE_CARD_MAINTENANCE_BLUE" ],
|
||||
"consume_card": false,
|
||||
"allow_hacking": true,
|
||||
"despawn_monsters": false,
|
||||
"radius": 3,
|
||||
"terrain_changes": { "t_door_metal_locked": "t_door_metal_c" },
|
||||
"query": true,
|
||||
"query_msg": "Are you sure you want to open this door?",
|
||||
"success_msg": "You opened the door!",
|
||||
"redundant_msg": "The door is already open."
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_card_science_transport_1",
|
||||
"name": "Freight hauler access card reader",
|
||||
"description": "This is a smartcard reader. It sports the stylized symbol of an atom and a truck. You could swipe a transporter's badge near it to unlock the gates.",
|
||||
"//": "Entrance card for a lab. Low security access.",
|
||||
"symbol": "6",
|
||||
"color": "cyan",
|
||||
"copy-from": "t_card_science",
|
||||
"looks_like": "t_card_science",
|
||||
"examine_action": {
|
||||
"type": "cardreader",
|
||||
"flags": [ "SCIENCE_CARD_TRANSPORT_1" ],
|
||||
"consume_card": true,
|
||||
"allow_hacking": false,
|
||||
"despawn_monsters": false,
|
||||
"radius": 7,
|
||||
"terrain_changes": { "t_door_metal_locked": "t_thconc_floor" },
|
||||
"query": true,
|
||||
"query_msg": "Are you sure you want to open this gate?",
|
||||
"success_msg": "You opened the gate!",
|
||||
"redundant_msg": "The gate is already open."
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_card_science_security_yellow",
|
||||
"name": "Security: yellow zone card reader",
|
||||
"description": "This is a smartcard reader. It sports the stylized symbol of an atom and a taser on a yellow background. You could swipe a security employee badge near it to unlock the gates.",
|
||||
"//": "Tier 1 card for a lab. Medium security access.",
|
||||
"symbol": "6",
|
||||
"color": "yellow",
|
||||
"copy-from": "t_card_science",
|
||||
"looks_like": "t_card_science",
|
||||
"examine_action": {
|
||||
"type": "cardreader",
|
||||
"flags": [ "SCIENCE_CARD_SECURITY_YELLOW" ],
|
||||
"consume_card": false,
|
||||
"allow_hacking": true,
|
||||
"despawn_monsters": true,
|
||||
"radius": 2,
|
||||
"terrain_changes": { "t_door_metal_locked": "t_door_metal_c" },
|
||||
"query": true,
|
||||
"query_msg": "Are you sure you want to open this door?",
|
||||
"success_msg": "You opened the door!",
|
||||
"redundant_msg": "The door is already open."
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_card_science_security_magenta",
|
||||
"name": "Security: magenta zone card reader",
|
||||
"description": "This is a smartcard reader. It sports the stylized symbol of an atom and a pistol on a magenta background. You could swipe a security employee badge near it to unlock the gates.",
|
||||
"//": "Tier 2 card for a lab. Medium security access.",
|
||||
"symbol": "6",
|
||||
"color": "magenta",
|
||||
"copy-from": "t_card_science",
|
||||
"looks_like": "t_card_science",
|
||||
"examine_action": {
|
||||
"type": "cardreader",
|
||||
"flags": [ "SCIENCE_CARD_SECURITY_MAGENTA" ],
|
||||
"consume_card": false,
|
||||
"allow_hacking": true,
|
||||
"despawn_monsters": true,
|
||||
"radius": 4,
|
||||
"terrain_changes": { "t_door_metal_locked": "t_door_metal_c" },
|
||||
"query": true,
|
||||
"query_msg": "Are you sure you want to open this door?",
|
||||
"success_msg": "You opened the door!",
|
||||
"redundant_msg": "The door is already open."
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_card_science_security_black",
|
||||
"name": "Security: black zone card reader",
|
||||
"description": "This is a smartcard reader. It sports the stylized symbol of an atom and a rifle on a black background. You could swipe a security employee badge near it to unlock the gates.",
|
||||
"//": "Tier 3 card for a lab. High security access.",
|
||||
"symbol": "6",
|
||||
"color": "black",
|
||||
"copy-from": "t_card_science",
|
||||
"looks_like": "t_card_science",
|
||||
"examine_action": {
|
||||
"type": "cardreader",
|
||||
"flags": [ "SCIENCE_CARD_SECURITY_BLACK" ],
|
||||
"consume_card": false,
|
||||
"allow_hacking": true,
|
||||
"despawn_monsters": true,
|
||||
"radius": 3,
|
||||
"terrain_changes": { "t_door_metal_locked": "t_door_metal_c" },
|
||||
"query": true,
|
||||
"query_msg": "Are you sure you want to open this door?",
|
||||
"success_msg": "You opened the door!",
|
||||
"redundant_msg": "The door is already open."
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_card_science_mutagen_green",
|
||||
"name": "Researcher: green zone card reader",
|
||||
"description": "This is a smartcard reader. It sports the stylized symbol of an atom and a flask on a green background. You could swipe a researcher scientist badge near it to unlock the gates.",
|
||||
"//": "Entrance card for a lab research areas.",
|
||||
"symbol": "6",
|
||||
"color": "green",
|
||||
"copy-from": "t_card_science",
|
||||
"looks_like": "t_card_science",
|
||||
"examine_action": {
|
||||
"type": "cardreader",
|
||||
"flags": [ "SCIENCE_CARD_MUTAGEN_GREEN" ],
|
||||
"consume_card": false,
|
||||
"allow_hacking": true,
|
||||
"despawn_monsters": true,
|
||||
"radius": 3,
|
||||
"terrain_changes": { "t_door_metal_locked": "t_door_metal_c" },
|
||||
"query": true,
|
||||
"query_msg": "Are you sure you want to open this door?",
|
||||
"success_msg": "You opened the door!",
|
||||
"redundant_msg": "The door is already open."
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_card_science_mutagen_pink",
|
||||
"name": "Researcher: pink zone card reader",
|
||||
"description": "This is a smartcard reader. It sports the stylized symbol of an atom and a flask on a pink background. You could swipe a researcher scientist badge near it to unlock the gates.",
|
||||
"//": "Entrance card for a lab research areas.",
|
||||
"symbol": "6",
|
||||
"color": "light_red",
|
||||
"copy-from": "t_card_science",
|
||||
"looks_like": "t_card_science",
|
||||
"examine_action": {
|
||||
"type": "cardreader",
|
||||
"flags": [ "SCIENCE_CARD_MUTAGEN_PINK" ],
|
||||
"consume_card": false,
|
||||
"allow_hacking": true,
|
||||
"despawn_monsters": true,
|
||||
"radius": 3,
|
||||
"terrain_changes": { "t_door_metal_locked": "t_door_metal_c" },
|
||||
"query": true,
|
||||
"query_msg": "Are you sure you want to open this door?",
|
||||
"success_msg": "You opened the door!",
|
||||
"redundant_msg": "The door is already open."
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_card_science_mutagen_cyan",
|
||||
"name": "Researcher: cyan zone card reader",
|
||||
"description": "This is a smartcard reader. It sports the stylized symbol of an atom and a flask on a cyan background. You could swipe a researcher scientist badge near it to unlock the gates.",
|
||||
"//": "Entrance card for a lab research areas.",
|
||||
"symbol": "6",
|
||||
"color": "cyan",
|
||||
"copy-from": "t_card_science",
|
||||
"looks_like": "t_card_science",
|
||||
"examine_action": {
|
||||
"type": "cardreader",
|
||||
"flags": [ "SCIENCE_CARD_MUTAGEN_CYAN" ],
|
||||
"consume_card": false,
|
||||
"allow_hacking": true,
|
||||
"despawn_monsters": true,
|
||||
"radius": 3,
|
||||
"terrain_changes": { "t_door_metal_locked": "t_door_metal_c" },
|
||||
"query": true,
|
||||
"query_msg": "Are you sure you want to open this door?",
|
||||
"success_msg": "You opened the door!",
|
||||
"redundant_msg": "The door is already open."
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_card_science_medical_red",
|
||||
"name": "Medical: Red zone card reader",
|
||||
"description": "This is a smartcard reader. It sports the stylized symbol of an atom and a syringe on a red background. You could swipe a researcher scientist badge near it to unlock the gates.",
|
||||
"//": "Entrance card for a lab medical areas.",
|
||||
"symbol": "6",
|
||||
"color": "cyan",
|
||||
"copy-from": "t_card_science",
|
||||
"looks_like": "t_card_science",
|
||||
"examine_action": {
|
||||
"type": "cardreader",
|
||||
"flags": [ "SCIENCE_CARD_MEDICAL_RED" ],
|
||||
"consume_card": false,
|
||||
"allow_hacking": true,
|
||||
"despawn_monsters": true,
|
||||
"radius": 3,
|
||||
"terrain_changes": { "t_door_metal_locked": "t_door_metal_c" },
|
||||
"query": true,
|
||||
"query_msg": "Are you sure you want to open this door?",
|
||||
"success_msg": "You opened the door!",
|
||||
"redundant_msg": "The door is already open."
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "terrain",
|
||||
"id": "t_card_reader_broken",
|
||||
@@ -729,7 +441,7 @@
|
||||
"color": "dark_gray",
|
||||
"move_cost": 0,
|
||||
"coverage": 50,
|
||||
"flags": [ "TRANSPARENT", "MOUNTABLE", "PERMEABLE", "MINEABLE", "SEALED" ],
|
||||
"flags": [ "TRANSPARENT", "MOUNTABLE", "PERMEABLE", "MINEABLE" ],
|
||||
"examine_action": "pedestal_wyrm",
|
||||
"bash": {
|
||||
"str_min": 100,
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"move_cost": 0,
|
||||
"coverage": 100,
|
||||
"roof": "t_resin_roof",
|
||||
"flags": [ "NOITEM", "WALL", "PERMEABLE", "TRANSPARENT", "INDOORS", "MINEABLE" ],
|
||||
"flags": [ "NOITEM", "WALL", "PERMEABLE", "TRANSPARENT", "INDOORS", "NONFLAMMABLE", "MINEABLE" ],
|
||||
"bash": {
|
||||
"str_min": 70,
|
||||
"str_max": 300,
|
||||
@@ -48,7 +48,7 @@
|
||||
"color": "dark_gray",
|
||||
"move_cost": 1,
|
||||
"roof": "t_resin_roof",
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD", "NOCOLLIDE" ],
|
||||
"flags": [ "TRANSPARENT", "SUPPORTS_ROOF", "COLLAPSES", "INDOORS", "FLAT", "ROAD", "NONFLAMMABLE", "NOCOLLIDE" ],
|
||||
"bash": {
|
||||
"str_min": 250,
|
||||
"str_max": 700,
|
||||
@@ -67,7 +67,7 @@
|
||||
"color": "light_gray",
|
||||
"looks_like": "t_floor_resin",
|
||||
"move_cost": 1,
|
||||
"flags": [ "TRANSPARENT", "COLLAPSES", "FLAT", "ROAD" ],
|
||||
"flags": [ "TRANSPARENT", "COLLAPSES", "FLAT", "ROAD", "NONFLAMMABLE" ],
|
||||
"bash": {
|
||||
"str_min": 250,
|
||||
"str_max": 700,
|
||||
@@ -86,7 +86,7 @@
|
||||
"color": "dark_gray",
|
||||
"move_cost": 2,
|
||||
"looks_like": "t_floor_resin",
|
||||
"flags": [ "TRANSPARENT", "FLAT" ],
|
||||
"flags": [ "TRANSPARENT", "FLAT", "NONFLAMMABLE" ],
|
||||
"bash": {
|
||||
"str_min": 250,
|
||||
"str_max": 700,
|
||||
@@ -106,7 +106,7 @@
|
||||
"move_cost": 0,
|
||||
"coverage": 95,
|
||||
"roof": "t_resin_roof",
|
||||
"flags": [ "DOOR", "NOITEM", "CONNECT_TO_WALL", "BLOCK_WIND" ],
|
||||
"flags": [ "DOOR", "NOITEM", "CONNECT_TO_WALL", "BLOCK_WIND", "NONFLAMMABLE" ],
|
||||
"open": "t_resin_hole_o",
|
||||
"deconstruct": { "ter_set": "t_resin_hole", "items": [ { "item": "resin_chunk", "count": [ 2, 5 ] } ] },
|
||||
"bash": {
|
||||
@@ -127,7 +127,7 @@
|
||||
"color": "light_gray",
|
||||
"move_cost": 2,
|
||||
"roof": "t_resin_roof",
|
||||
"flags": [ "TRANSPARENT", "FLAT", "CONNECT_TO_WALL" ],
|
||||
"flags": [ "TRANSPARENT", "FLAT", "CONNECT_TO_WALL", "NONFLAMMABLE" ],
|
||||
"deconstruct": { "ter_set": "t_resin_hole", "items": [ { "item": "resin_chunk", "count": [ 2, 5 ] } ] },
|
||||
"close": "t_resin_hole_c",
|
||||
"bash": {
|
||||
@@ -148,7 +148,7 @@
|
||||
"color": "light_gray",
|
||||
"move_cost": 4,
|
||||
"roof": "t_resin_roof",
|
||||
"flags": [ "TRANSPARENT", "FLAT", "CONNECT_TO_WALL" ],
|
||||
"flags": [ "TRANSPARENT", "FLAT", "CONNECT_TO_WALL", "NONFLAMMABLE" ],
|
||||
"bash": {
|
||||
"str_min": 100,
|
||||
"str_max": 500,
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "RAIL", "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "RAIL", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_track_h",
|
||||
@@ -86,7 +86,7 @@
|
||||
]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "RAIL", "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "RAIL", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_track_v",
|
||||
@@ -117,7 +117,7 @@
|
||||
]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "RAIL", "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "RAIL", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_track_d",
|
||||
@@ -148,7 +148,7 @@
|
||||
]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "RAIL", "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "RAIL", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_track_d1",
|
||||
@@ -179,7 +179,7 @@
|
||||
]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "RAIL", "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "RAIL", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_track_d2",
|
||||
@@ -210,7 +210,7 @@
|
||||
]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "RAIL", "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "RAIL", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_tie",
|
||||
@@ -233,7 +233,7 @@
|
||||
"items": [ { "item": "log", "count": [ 0, 1 ] }, { "item": "splinter", "count": [ 10, 20 ] } ]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_tie_h",
|
||||
@@ -256,7 +256,7 @@
|
||||
"items": [ { "item": "log", "count": [ 0, 1 ] }, { "item": "splinter", "count": [ 10, 20 ] } ]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_tie_v",
|
||||
@@ -279,7 +279,7 @@
|
||||
"items": [ { "item": "log", "count": [ 0, 1 ] }, { "item": "splinter", "count": [ 10, 20 ] } ]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_tie_d",
|
||||
@@ -302,7 +302,7 @@
|
||||
"items": [ { "item": "log", "count": [ 0, 1 ] }, { "item": "splinter", "count": [ 10, 20 ] } ]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_track_on_tie",
|
||||
@@ -336,7 +336,7 @@
|
||||
]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "RAIL", "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "RAIL", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_track_h_on_tie",
|
||||
@@ -370,7 +370,7 @@
|
||||
]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "RAIL", "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "RAIL", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_track_v_on_tie",
|
||||
@@ -404,7 +404,7 @@
|
||||
]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "RAIL", "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "RAIL", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_track_d_on_tie",
|
||||
@@ -438,7 +438,7 @@
|
||||
]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "RAIL", "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "RAIL", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_buffer_stop",
|
||||
@@ -456,7 +456,7 @@
|
||||
"sound_fail": "whump.",
|
||||
"items": [ { "item": "2x4", "count": [ 2, 5 ] }, { "item": "nail", "charges": [ 3, 8 ] }, { "item": "splinter", "count": 2 } ]
|
||||
},
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "MOUNTABLE" ]
|
||||
"flags": [ "BASHABLE", "TRANSPARENT", "NOITEM", "MOUNTABLE" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_tie_d1",
|
||||
@@ -479,7 +479,7 @@
|
||||
"items": [ { "item": "log", "count": [ 0, 1 ] }, { "item": "splinter", "count": [ 10, 20 ] } ]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_tie_d2",
|
||||
@@ -502,7 +502,7 @@
|
||||
"items": [ { "item": "log", "count": [ 0, 1 ] }, { "item": "splinter", "count": [ 10, 20 ] } ]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_crossing_signal",
|
||||
@@ -600,7 +600,7 @@
|
||||
]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "RAIL", "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "RAIL", "TRANSPARENT" ]
|
||||
},
|
||||
{
|
||||
"id": "t_railroad_track_small_d",
|
||||
@@ -634,6 +634,6 @@
|
||||
]
|
||||
},
|
||||
"connects_to": "RAIL",
|
||||
"flags": [ "RAIL", "TRANSPARENT" ]
|
||||
"flags": [ "BASHABLE", "RAIL", "TRANSPARENT" ]
|
||||
}
|
||||
]
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user