Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6685bedd90 | |||
| 0e8d3a3b76 | |||
| 14bb5248d7 | |||
| a491336f44 | |||
| e2003caf6a | |||
| 82f74f1fe6 | |||
| 7136388ca5 | |||
| db8d468fa1 | |||
| e814bac0a8 | |||
| b3c146e8e6 | |||
| 41138ae730 | |||
| 1399236f63 | |||
| 082d042d10 | |||
| 66257c0a72 | |||
| 975c96c26d | |||
| 7eb57b8481 | |||
| 660676314c | |||
| e7e1d6ae84 | |||
| 053fe40c18 |
@@ -90,7 +90,7 @@ runs:
|
||||
"$SHADER_DIR"/build-msl.stamp
|
||||
|
||||
- name: Upload shader artifacts
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
with:
|
||||
name: ${{ inputs.artifact-name }}
|
||||
path: |
|
||||
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: install dependencies
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
cmake -DCMAKE_BUILD_TYPE=RELEASE ..
|
||||
cmake --build . -- -j3
|
||||
echo "${PWD}" >> $GITHUB_PATH
|
||||
- uses: ammaraskar/gcc-problem-matcher@0f9c86f9e693db67dacf53986e1674de5f2e5f28 # master
|
||||
- uses: ammaraskar/gcc-problem-matcher@cb2e3f949c41b7818628f35f8484a9b0acf90cf9 # Node24 point release
|
||||
- name: make
|
||||
run: |
|
||||
clang++ --version
|
||||
@@ -37,11 +37,11 @@ jobs:
|
||||
ClangBuildAnalyzer --stop . buildAnalysis
|
||||
- name: Analyze
|
||||
run: ClangBuildAnalyzer --analyze buildAnalysis
|
||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
with:
|
||||
name: ClangBuildAnalyzer-analysis
|
||||
path: buildAnalysis
|
||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
with:
|
||||
name: ClangBuildAnalyzer-traces
|
||||
path: "**/obj/*.json"
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
run-the-tool:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- run: ./tools/json_tools/assign_mission_target_needs_om_special.bash 2>&1
|
||||
|
||||
@@ -11,12 +11,12 @@ jobs:
|
||||
should_skip: ${{ steps.skip_check.outputs.should_skip }}
|
||||
steps:
|
||||
- id: skip_check
|
||||
uses: fkirc/skip-duplicate-actions@04a1aebece824b56e6ad6a401d015479cd1c50b3 # master
|
||||
uses: fkirc/skip-duplicate-actions@b974a9395958c231af965b70070979a577efa578 # v5.3.2
|
||||
with:
|
||||
cancel_others: 'true'
|
||||
paths: '[".github/workflows/astyle.yml", "Makefile", ".astylerc", "**.cpp", "**.h", "**.c"]'
|
||||
- run: echo ${{ github.event.number }} > pull_request_id
|
||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
with:
|
||||
name: pull_request_id
|
||||
path: pull_request_id
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
curl -sL https://github.com/transifex/cli/releases/download/v1.6.17/tx-linux-amd64.tar.gz | sudo tar zxvf - -C /usr/bin tx
|
||||
|
||||
- name: Checkout local repo
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
ref: master
|
||||
sparse-checkout: |
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
run: ./lang/update_stats.sh
|
||||
|
||||
- name: Store translation artifacts
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
with:
|
||||
name: "translations"
|
||||
path: |
|
||||
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
should_skip: ${{ steps.skip_check.outputs.should_skip }}
|
||||
steps:
|
||||
- id: skip_check
|
||||
uses: fkirc/skip-duplicate-actions@04a1aebece824b56e6ad6a401d015479cd1c50b3 # master
|
||||
uses: fkirc/skip-duplicate-actions@b974a9395958c231af965b70070979a577efa578 # v5.3.2
|
||||
with:
|
||||
cancel_others: 'true'
|
||||
skip_after_successful_duplicate: 'false'
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
steps:
|
||||
- name: checkout repository
|
||||
if: ${{ needs.skip-duplicates.outputs.should_skip != 'true' && (github.event_name != 'pull_request' || github.event.pull_request.draft == false) }}
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: install LLVM 22
|
||||
@@ -73,13 +73,13 @@ jobs:
|
||||
with:
|
||||
path: build/tools/clang-tidy-plugin/libCataAnalyzerPlugin.so
|
||||
key: clang-tidy-plugin-llvm${{ steps.install-llvm.outputs.llvm_full_version }}-ubuntu2404-${{ hashFiles('tools/clang-tidy-plugin/**', 'build-scripts/clang-tidy-build.sh', 'CMakeLists.txt', 'CMakeModules/**') }}
|
||||
- uses: ammaraskar/gcc-problem-matcher@0f9c86f9e693db67dacf53986e1674de5f2e5f28 # master
|
||||
- uses: ammaraskar/gcc-problem-matcher@cb2e3f949c41b7818628f35f8484a9b0acf90cf9 # Node24 point release
|
||||
- name: build clang-tidy plugin
|
||||
if: ${{ needs.skip-duplicates.outputs.should_skip != 'true' && (github.event_name != 'pull_request' || github.event.pull_request.draft == false) && steps.plugin-cache.outputs.cache-hit != 'true' }}
|
||||
run: bash ./build-scripts/clang-tidy-build.sh
|
||||
- name: upload plugin
|
||||
if: ${{ needs.skip-duplicates.outputs.should_skip != 'true' && (github.event_name != 'pull_request' || github.event.pull_request.draft == false) }}
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
with:
|
||||
name: cata-analyzer-plugin
|
||||
path: build/tools/clang-tidy-plugin/libCataAnalyzerPlugin.so
|
||||
@@ -118,7 +118,7 @@ jobs:
|
||||
sudo ./llvm.sh 22
|
||||
sudo apt-get install -y clang-tidy-22 cmake ccache jq gettext
|
||||
- name: checkout repository
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: setup SDL3 stack
|
||||
@@ -133,7 +133,7 @@ jobs:
|
||||
path: build/tools/clang-tidy-plugin/
|
||||
- name: determine changed files
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
|
||||
with:
|
||||
script: |
|
||||
var fs = require('fs');
|
||||
@@ -149,7 +149,7 @@ jobs:
|
||||
console.log(path);
|
||||
}
|
||||
fs.writeFileSync("files_changed", files.join('\n') + '\n');
|
||||
- uses: ammaraskar/gcc-problem-matcher@0f9c86f9e693db67dacf53986e1674de5f2e5f28 # master
|
||||
- uses: ammaraskar/gcc-problem-matcher@cb2e3f949c41b7818628f35f8484a9b0acf90cf9 # Node24 point release
|
||||
- name: run clang-tidy
|
||||
run: bash ./build-scripts/clang-tidy-run.sh
|
||||
- name: show most time consuming checks
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: install cmakelang
|
||||
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
@@ -69,7 +69,7 @@ jobs:
|
||||
actions: write
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout local repo
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
ref: master
|
||||
sparse-checkout: |
|
||||
@@ -139,7 +139,7 @@ jobs:
|
||||
- run: pip install pyvips
|
||||
|
||||
- name: Clone tileset repo
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
repository: ${{ matrix.tileset_repo }}
|
||||
ref: master
|
||||
@@ -159,7 +159,7 @@ jobs:
|
||||
[ -f "$SOURCE/layering.json" ] && mv -v "$SOURCE/layering.json" "$DEST/" || echo "No layering.json for ${{ matrix.name }}"
|
||||
|
||||
- name: Store artifact
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
with:
|
||||
name: "tileset-${{ matrix.name }}"
|
||||
path: "${{github.workspace}}/gfx/*"
|
||||
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Detect translation file changes"
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
CCACHE: 1
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
@@ -93,7 +93,7 @@ jobs:
|
||||
run: ./build-scripts/prepare-web.sh
|
||||
|
||||
- name: Create artifact
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
with:
|
||||
name: play-cdda
|
||||
path: build/*
|
||||
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: install dependencies
|
||||
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout repository
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
@@ -33,12 +33,12 @@ jobs:
|
||||
run: ls -a
|
||||
|
||||
- name: Upload zipped html as artifact
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
with:
|
||||
name: formatter
|
||||
path: formatter.html
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
ref: gh-pages
|
||||
persist-credentials: false
|
||||
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
if: ${{ github.event.issue.pull_request }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Check if user has any existing PR comments in this repository
|
||||
|
||||
@@ -56,14 +56,14 @@ jobs:
|
||||
sudo apt install cmake
|
||||
- name: checkout IWYU repository
|
||||
id: iwyu-checkout
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
repository: include-what-you-use/include-what-you-use
|
||||
path: include-what-you-use-src
|
||||
ref: clang_19
|
||||
persist-credentials: false
|
||||
- name: checkout own repository
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
path: Cataclysm-DDA
|
||||
persist-credentials: false
|
||||
@@ -118,7 +118,7 @@ jobs:
|
||||
|
||||
# and include database too, for get_affected_files.py
|
||||
make includes -j4 --silent TILES=${TILES:-0} SOUND=${SOUND:-0} LOCALIZE=${LOCALIZE:-0}
|
||||
- uses: ammaraskar/gcc-problem-matcher@0f9c86f9e693db67dacf53986e1674de5f2e5f28 # master
|
||||
- uses: ammaraskar/gcc-problem-matcher@cb2e3f949c41b7818628f35f8484a9b0acf90cf9 # Node24 point release
|
||||
- name: run IWYU
|
||||
id: run_iwyu
|
||||
working-directory: Cataclysm-DDA
|
||||
@@ -153,7 +153,7 @@ jobs:
|
||||
exit 0 # Always 'succeed' this step to reduce job noise.
|
||||
- name: Upload pr comment artifacts
|
||||
if: ${{ failure() && github.event_name == 'pull_request' && steps.run_iwyu.outputs.has_errors != 0 }}
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
with:
|
||||
name: suggestions
|
||||
path: suggestions/
|
||||
|
||||
@@ -11,12 +11,12 @@ jobs:
|
||||
should_skip: ${{ steps.skip_check.outputs.should_skip }}
|
||||
steps:
|
||||
- id: skip_check
|
||||
uses: fkirc/skip-duplicate-actions@04a1aebece824b56e6ad6a401d015479cd1c50b3 # master
|
||||
uses: fkirc/skip-duplicate-actions@b974a9395958c231af965b70070979a577efa578 # v5.3.2
|
||||
with:
|
||||
cancel_others: 'true'
|
||||
paths: '["**.json", ".github/workflows/json.yml"]'
|
||||
- run: echo ${{ github.event.number }} > pull_request_id
|
||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
with:
|
||||
name: pull_request_id
|
||||
path: pull_request_id
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
if: ${{ needs.skip-duplicates.outputs.should_skip != 'true' }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: JSON style check
|
||||
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
ref: '${{ github.event.pull_request.head.sha }}'
|
||||
persist-credentials: false
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
fi
|
||||
- name: Upload pr comment artifacts
|
||||
if: ${{ failure() }}
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
with:
|
||||
name: suggestions
|
||||
path: suggestions/
|
||||
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
should_skip_code: ${{ steps.skip_check.outputs.should_skip }}
|
||||
steps:
|
||||
- id: skip_check
|
||||
uses: fkirc/skip-duplicate-actions@04a1aebece824b56e6ad6a401d015479cd1c50b3 # master
|
||||
uses: fkirc/skip-duplicate-actions@b974a9395958c231af965b70070979a577efa578 # v5.3.2
|
||||
with:
|
||||
skip_after_successful_duplicate: 'false'
|
||||
paths_ignore: '["android/**", "build-data/osx/**", "doc/**", "doxygen_doc/**", "lgtm/**", "msvc-**", "tools/**", "utilities/**", "data/**", "lang/**"]'
|
||||
@@ -70,7 +70,7 @@ jobs:
|
||||
should_skip_data: ${{ steps.skip_check.outputs.should_skip }}
|
||||
steps:
|
||||
- id: skip_check
|
||||
uses: fkirc/skip-duplicate-actions@04a1aebece824b56e6ad6a401d015479cd1c50b3 # master
|
||||
uses: fkirc/skip-duplicate-actions@b974a9395958c231af965b70070979a577efa578 # v5.3.2
|
||||
with:
|
||||
skip_after_successful_duplicate: 'false'
|
||||
paths_ignore: '["android/**", "build-data/osx/**", "doc/**", "doxygen_doc/**", "lgtm/**", "msvc-**", "tools/**", "utilities/**"]'
|
||||
@@ -96,7 +96,7 @@ jobs:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: checkout repository
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: build SDL3 shader artifacts
|
||||
@@ -249,7 +249,7 @@ jobs:
|
||||
sudo rm -rf $ANDROID_HOME
|
||||
- name: checkout repository
|
||||
if: ${{ env.SKIP == 'false' }}
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: download prebuilt shader artifacts
|
||||
@@ -310,7 +310,7 @@ jobs:
|
||||
key: ccache-${{ github.ref_name }}-${{ matrix.ccache_key }}--${{ steps.get-vars.outputs.datetime }}
|
||||
restore-keys: |
|
||||
ccache-master-${{ matrix.ccache_key }}--
|
||||
- uses: ammaraskar/gcc-problem-matcher@0f9c86f9e693db67dacf53986e1674de5f2e5f28 # master
|
||||
- uses: ammaraskar/gcc-problem-matcher@cb2e3f949c41b7818628f35f8484a9b0acf90cf9 # Node24 point release
|
||||
|
||||
- name: Set up JDK (android)
|
||||
if: runner.os == 'Linux' && matrix.android != 'none'
|
||||
@@ -348,18 +348,18 @@ jobs:
|
||||
echo ${{ github.event.number }} > pull_request_id
|
||||
echo "false" > ${{ env.ARCHIVE_SUCCESS }}
|
||||
if: ${{ env.ARCHIVE_SUCCESS && failure() }}
|
||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
if: ${{ always() && env.ARCHIVE_SUCCESS }}
|
||||
with:
|
||||
name: pull_request_id
|
||||
path: pull_request_id
|
||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
if: ${{ always() && env.ARCHIVE_SUCCESS }}
|
||||
with:
|
||||
name: ${{ env.ARCHIVE_SUCCESS }}
|
||||
path: ${{ env.ARCHIVE_SUCCESS }}
|
||||
- name: upload artifacts if failed
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
if: failure()
|
||||
with:
|
||||
name: cata_test
|
||||
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
|
||||
@@ -16,14 +16,14 @@ jobs:
|
||||
github.event.workflow_run.conclusion == 'success' }}
|
||||
steps:
|
||||
- name: Download pr id artifact
|
||||
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # v3.1.4
|
||||
uses: dawidd6/action-download-artifact@a92c7ae74cf1df8810783758581e485ac3aaa309 # v28
|
||||
with:
|
||||
workflow: ${{ github.event.workflow_run.name }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
name: pull_request_id
|
||||
allow_forks: false
|
||||
- name: Download spell check retcode artifact
|
||||
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # v3.1.4
|
||||
uses: dawidd6/action-download-artifact@a92c7ae74cf1df8810783758581e485ac3aaa309 # v28
|
||||
with:
|
||||
workflow: ${{ github.event.workflow_run.name }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
run: echo "spell-check-retcode=$( cat spell_check_retcode )" >> $GITHUB_OUTPUT
|
||||
- name: Download spell check output artifact
|
||||
if: steps.set-spell-check-retcode.outputs.spell-check-retcode >= 1
|
||||
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # v3.1.4
|
||||
uses: dawidd6/action-download-artifact@a92c7ae74cf1df8810783758581e485ac3aaa309 # v28
|
||||
with:
|
||||
workflow: ${{ github.event.workflow_run.name }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
allow_forks: false
|
||||
- name: 'Comment on PR'
|
||||
if: steps.set-spell-check-retcode.outputs.spell-check-retcode >= 1
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
|
||||
@@ -11,12 +11,12 @@ jobs:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Download artifact
|
||||
id: download-artifact
|
||||
uses: dawidd6/action-download-artifact@8305c0f1062bb0d184d09ef4493ecb9288447732 # v20
|
||||
uses: dawidd6/action-download-artifact@a92c7ae74cf1df8810783758581e485ac3aaa309 # v28
|
||||
with:
|
||||
workflow: ${{ github.event.workflow_run.name }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
sudo apt install python3-pip
|
||||
sudo pip3 install polib
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: "Generate translation template"
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
echo "tag_name=cdda-experimental-aab-bundle-$timestamp" >> $GITHUB_OUTPUT
|
||||
echo "release_name=Cataclysm-DDA experimental Android bundle $timestamp" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Set up JDK
|
||||
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
echo "release_name=Cataclysm-DDA experimental build ${STEPS_GET_TIMESTAMP_OUTPUTS_TIME}" >> $GITHUB_OUTPUT
|
||||
env:
|
||||
STEPS_GET_TIMESTAMP_OUTPUTS_TIME: ${{ steps.get-timestamp.outputs.time }}
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Generate Release Notes
|
||||
@@ -98,7 +98,7 @@ jobs:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: checkout repository
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
@@ -206,7 +206,7 @@ jobs:
|
||||
if: ${{ runner.os == 'macos' && matrix.android == '' }}
|
||||
run: |
|
||||
sudo rm -rf $ANDROID_HOME
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
fetch-tags: true
|
||||
persist-credentials: false
|
||||
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
GITHUB_EVENT_WORKFLOW_RUN_NAME: ${{ github.event.workflow_run.name }}
|
||||
- name: Download success artifact from basic build
|
||||
if: ${{ github.event.workflow_run.name == 'General build matrix' }}
|
||||
uses: dawidd6/action-download-artifact@v23 # immutable
|
||||
uses: dawidd6/action-download-artifact@a92c7ae74cf1df8810783758581e485ac3aaa309 # v28
|
||||
with:
|
||||
workflow: ${{ github.event.workflow_run.name }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
echo "basic-build-success=false" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
- name: Download pr id artifact
|
||||
uses: dawidd6/action-download-artifact@v23 # immutable
|
||||
uses: dawidd6/action-download-artifact@a92c7ae74cf1df8810783758581e485ac3aaa309 # v28
|
||||
with:
|
||||
workflow: ${{ github.event.workflow_run.name }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
@@ -68,7 +68,7 @@ jobs:
|
||||
fi
|
||||
- name: set-label
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.conclusion != 'skipped' || steps.set-basic-build-success.outputs.basic-build-success == 'true' }}
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
|
||||
with:
|
||||
script: |
|
||||
if ('${{ steps.set-pr-id.outputs.pr-id }}'.trim().length == 0) {
|
||||
@@ -83,7 +83,7 @@ jobs:
|
||||
}
|
||||
- name: remove-label
|
||||
if: ${{ github.event.workflow_run.conclusion == 'failure' && steps.set-basic-build-success.outputs.basic-build-success != 'true' }}
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
|
||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
|
||||
with:
|
||||
script: |
|
||||
if ('${{ steps.set-pr-id.outputs.pr-id }}'.trim().length == 0) {
|
||||
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
sudo apt-get install python3-pip gettext
|
||||
sudo pip3 install polib pyspellchecker regex
|
||||
- name: "Checkout test merge commit"
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: "Compute base commit and test merge commit"
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
./lang/update_pot.sh
|
||||
cp lang/po/cataclysm-dda.pot ~/merge.pot
|
||||
- name: "Checkout base commit"
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
ref: ${{ steps.get-commit-hash.outputs.base_commit }}
|
||||
persist-credentials: false
|
||||
@@ -53,7 +53,7 @@ jobs:
|
||||
./lang/update_pot.sh
|
||||
cp lang/po/cataclysm-dda.pot ~/base.pot
|
||||
- name: "Checkout test merge commit"
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
ref: ${{ steps.get-commit-hash.outputs.test_merge_commit }}
|
||||
persist-credentials: false
|
||||
@@ -72,15 +72,15 @@ jobs:
|
||||
wc -c spell_check_output | grep -o '[0-9]*' > spell_check_retcode
|
||||
echo "length=$(cat spell_check_retcode)" >> $GITHUB_OUTPUT
|
||||
- run: echo ${{ github.event.number }} > pull_request_id
|
||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
with:
|
||||
name: pull_request_id
|
||||
path: pull_request_id
|
||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
with:
|
||||
name: spell_check_retcode
|
||||
path: spell_check_retcode
|
||||
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
|
||||
if: steps.get_length.outputs.length >= 1
|
||||
with:
|
||||
name: spell_check_output
|
||||
|
||||
@@ -14,7 +14,7 @@ jobs:
|
||||
name: Update the table of contents
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- run: npx doctoc --github --title "*Contents*" --update-only doc/
|
||||
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: "Get current date"
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
"mass": "41 kg",
|
||||
"max_volume": "120 L",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "household_dishwasher" },
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "FLAT_SURF", "MINEABLE", "EASY_DECONSTRUCT", "NO_SELF_CONNECT" ],
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "FLAT_SURF", "MINEABLE", "NO_DECONSTRUCT", "NO_SELF_CONNECT" ],
|
||||
"item": "household_dishwasher",
|
||||
"bash": { "str_min": 18, "str_max": 50, "sound": "metal screeching!", "sound_fail": "clang!" }
|
||||
},
|
||||
@@ -197,7 +197,7 @@
|
||||
"mass": "66 kg",
|
||||
"max_volume": "135 L",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "household_washing_machine" },
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "FLAT_SURF", "MINEABLE", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "FLAT_SURF", "MINEABLE", "NO_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"item": "household_washing_machine",
|
||||
"bash": { "str_min": 18, "str_max": 50, "sound": "metal screeching!", "sound_fail": "clang!" }
|
||||
},
|
||||
@@ -216,7 +216,7 @@
|
||||
"flags": [
|
||||
"PLACE_ITEM",
|
||||
"TRANSPARENT",
|
||||
"EASY_DECONSTRUCT",
|
||||
"NO_DECONSTRUCT",
|
||||
"CONTAINER",
|
||||
"BLOCKSDOOR",
|
||||
"MOUNTABLE",
|
||||
@@ -278,7 +278,7 @@
|
||||
"flags": [
|
||||
"PLACE_ITEM",
|
||||
"TRANSPARENT",
|
||||
"EASY_DECONSTRUCT",
|
||||
"NO_DECONSTRUCT",
|
||||
"CONTAINER",
|
||||
"BLOCKSDOOR",
|
||||
"FIRE_CONTAINER",
|
||||
@@ -389,7 +389,7 @@
|
||||
"move_cost_mod": 2,
|
||||
"coverage": 40,
|
||||
"required_str": 20,
|
||||
"flags": [ "TRANSPARENT", "PLACE_ITEM", "BLOCKSDOOR", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "TRANSPARENT", "PLACE_ITEM", "BLOCKSDOOR", "NO_DECONSTRUCT" ],
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "mill_vertical" }
|
||||
},
|
||||
{
|
||||
@@ -619,7 +619,7 @@
|
||||
"BLOCKSDOOR",
|
||||
"MOUNTABLE",
|
||||
"LIQUIDCONT",
|
||||
"EASY_DECONSTRUCT"
|
||||
"NO_DECONSTRUCT"
|
||||
],
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "deep_fryer" },
|
||||
"item": "deep_fryer"
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
"coverage": 80,
|
||||
"required_str": -1,
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "compact_ASRG_containment" },
|
||||
"flags": [ "NOITEM", "SEALED", "REDUCE_SCENT", "PERMEABLE", "EASY_DECONSTRUCT", "ACTIVE_GENERATOR" ],
|
||||
"flags": [ "NOITEM", "SEALED", "REDUCE_SCENT", "PERMEABLE", "NO_DECONSTRUCT", "ACTIVE_GENERATOR" ],
|
||||
"bash": {
|
||||
"str_min": 70,
|
||||
"str_max": 400,
|
||||
@@ -100,8 +100,7 @@
|
||||
{ "item": "plutonium", "count": [ 0, 3 ] },
|
||||
{ "item": "lead", "count": [ 12, 18 ] }
|
||||
]
|
||||
},
|
||||
"deconstruct": { "items": [ { "item": "compact_ASRG_containment", "count": 1 } ] }
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "furniture",
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
"coverage": 60,
|
||||
"required_str": 16,
|
||||
"looks_like": "f_washer",
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "FLAT_SURF", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "FLAT_SURF", "NO_DECONSTRUCT" ],
|
||||
"item": "autoclave",
|
||||
"examine_action": "autoclave_empty",
|
||||
"bash": {
|
||||
@@ -960,8 +960,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 30,
|
||||
"required_str": -1,
|
||||
"flags": [ "TRANSPARENT", "PERMEABLE", "EASY_DECONSTRUCT" ],
|
||||
"deconstruct": { "items": [ { "item": "centrifuge" } ] },
|
||||
"flags": [ "TRANSPARENT", "PERMEABLE", "NO_DECONSTRUCT" ],
|
||||
"bash": {
|
||||
"str_min": 3,
|
||||
"str_max": 45,
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 55,
|
||||
"required_str": -1,
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "LIQUIDCONT", "NOITEM", "SEALED", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "LIQUIDCONT", "NOITEM", "SEALED", "NO_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"//": "keg_capacity assumed to be from model XE36S06ST45U0 water heater <https://images.thdstatic.com/catalog/pdfImages/2d/2d7ed116-1a8c-439d-b7fe-a62a0a98f806.pdf>",
|
||||
"examine_action": "keg",
|
||||
"keg_capacity": "100 L",
|
||||
@@ -165,7 +165,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 55,
|
||||
"required_str": -1,
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "LIQUIDCONT", "NOITEM", "SEALED", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "LIQUIDCONT", "NOITEM", "SEALED", "NO_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"//": "keg_capacity assumed to be from model XG55T06EC50UO water heater <https://images.thdstatic.com/catalog/pdfImages/7e/7e7928b1-8b4f-472a-8ee8-b48eb1e7932a.pdf>",
|
||||
"examine_action": "keg",
|
||||
"keg_capacity": "200 L",
|
||||
|
||||
@@ -156,7 +156,7 @@
|
||||
"required_str": 12,
|
||||
"mass": "77 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "arcade_machine" },
|
||||
"flags": [ "BLOCKSDOOR", "TRANSPARENT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"flags": [ "BLOCKSDOOR", "TRANSPARENT", "NO_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"item": "arcade_machine",
|
||||
"bash": {
|
||||
"str_min": 6,
|
||||
@@ -431,7 +431,7 @@
|
||||
"required_str": 8,
|
||||
"mass": "317 kg",
|
||||
"//": "While heavy, most large pianos have casters for relatively easy movement.",
|
||||
"flags": [ "FLAMMABLE", "ORGANIC", "BLOCKSDOOR", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"flags": [ "FLAMMABLE", "ORGANIC", "BLOCKSDOOR", "NO_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"examine_action": { "type": "effect_on_condition", "effect_on_conditions": [ "EOC_PLAY_PIANO" ] },
|
||||
"item": "piano",
|
||||
"bash": {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"floor_bedding_warmth": 100,
|
||||
"required_str": 6,
|
||||
"mass": "30 kg",
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "FLAMMABLE_ASH", "ORGANIC", "MOUNTABLE", "SHORT", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "TRANSPARENT", "CONTAINER", "FLAMMABLE_ASH", "ORGANIC", "MOUNTABLE", "SHORT", "NO_DECONSTRUCT" ],
|
||||
"deconstruct": { "items": [ { "item": "straw_pile", "count": 40 }, { "item": "rope_makeshift_30", "count": 1 } ] },
|
||||
"bash": {
|
||||
"str_min": 1,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"required_str": 12,
|
||||
"mass": "60 kg",
|
||||
"deconstruct": { "items": [ { "item": "mattress", "count": 1 } ], "furn_set": "f_bed_frame" },
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "PLACE_ITEM", "ORGANIC", "MOUNTABLE", "CAN_SIT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "PLACE_ITEM", "ORGANIC", "MOUNTABLE", "CAN_SIT", "NO_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"bash": {
|
||||
"str_min": 12,
|
||||
"str_max": 40,
|
||||
|
||||
@@ -1670,7 +1670,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 100,
|
||||
"required_str": -1,
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "LIQUIDCONT", "NOITEM", "SEALED", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "LIQUIDCONT", "NOITEM", "SEALED", "NO_DECONSTRUCT" ],
|
||||
"examine_action": "keg",
|
||||
"keg_capacity": "1635 L",
|
||||
"item": "432gal_drum_rubber",
|
||||
@@ -1767,7 +1767,7 @@
|
||||
"required_str": -1,
|
||||
"mass": "1293 kg",
|
||||
"max_volume": "1500 L",
|
||||
"flags": [ "CONTAINER", "BLOCKSDOOR", "MOUNTABLE", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "CONTAINER", "BLOCKSDOOR", "MOUNTABLE", "NO_DECONSTRUCT" ],
|
||||
"deconstruct": { "items": [ { "item": "engine_container_base", "count": 1 } ] }
|
||||
},
|
||||
{
|
||||
|
||||
@@ -266,7 +266,7 @@
|
||||
"mass": "225 kg",
|
||||
"crafting_pseudo_item": "fake_anvil_heavy",
|
||||
"item": "anvil_heavy",
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "NO_DECONSTRUCT" ],
|
||||
"bash": { "str_min": 190, "str_max": 800, "sound": "crunch!", "sound_fail": "whump." }
|
||||
},
|
||||
{
|
||||
@@ -300,7 +300,7 @@
|
||||
"mass": "95 kg",
|
||||
"crafting_pseudo_item": "fake_anvil",
|
||||
"deconstruct": { "items": [ { "item": "10l_steel", "count": 1 }, { "item": "spike", "count": 5 }, { "item": "log", "count": 1 } ] },
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "NO_DECONSTRUCT" ],
|
||||
"bash": {
|
||||
"str_min": 14,
|
||||
"str_max": 28,
|
||||
@@ -323,7 +323,7 @@
|
||||
"mass": "50 kg",
|
||||
"crafting_pseudo_item": "fake_anvil",
|
||||
"deconstruct": { "items": [ { "item": "anvil_scavenged", "count": 1 }, { "item": "log", "count": 1 } ] },
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "NO_DECONSTRUCT" ],
|
||||
"bash": {
|
||||
"str_min": 14,
|
||||
"str_max": 28,
|
||||
@@ -360,7 +360,7 @@
|
||||
"required_str": -1,
|
||||
"crafting_pseudo_item": "screw_press",
|
||||
"item": "screw_press_tool",
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "TRANSPARENT", "NOITEM", "NO_DECONSTRUCT" ],
|
||||
"bash": {
|
||||
"str_min": 4,
|
||||
"str_max": 8,
|
||||
@@ -517,7 +517,7 @@
|
||||
"coverage": 40,
|
||||
"required_str": -1,
|
||||
"max_volume": "200 L",
|
||||
"flags": [ "CONTAINER", "FIRE_CONTAINER", "PLACE_ITEM", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "CONTAINER", "FIRE_CONTAINER", "PLACE_ITEM", "NO_DECONSTRUCT" ],
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "arc_furnace" },
|
||||
"item": "arc_furnace",
|
||||
"bash": { "str_min": 18, "str_max": 40, "sound": "metal screeching!", "sound_fail": "clang!" },
|
||||
@@ -860,7 +860,7 @@
|
||||
"required_str": 10,
|
||||
"mass": "114 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "drill_press" },
|
||||
"flags": [ "BLOCKSDOOR", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "BLOCKSDOOR", "NO_DECONSTRUCT" ],
|
||||
"item": "drill_press",
|
||||
"bash": { "str_min": 40, "str_max": 150, "sound_fail": "clang!" }
|
||||
},
|
||||
@@ -904,7 +904,7 @@
|
||||
"required_str": 8,
|
||||
"mass": "110 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "steel_kiln" },
|
||||
"flags": [ "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "NO_DECONSTRUCT" ],
|
||||
"bash": { "str_min": 40, "str_max": 150, "sound_fail": "clang!" }
|
||||
},
|
||||
{
|
||||
@@ -949,7 +949,7 @@
|
||||
"required_str": 10,
|
||||
"mass": "130 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "tablesaw" },
|
||||
"flags": [ "BLOCKSDOOR", "TRANSPARENT", "MOUNTABLE", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "BLOCKSDOOR", "TRANSPARENT", "MOUNTABLE", "NO_DECONSTRUCT" ],
|
||||
"item": "tablesaw",
|
||||
"bash": { "str_min": 40, "str_max": 150, "sound_fail": "clang!" }
|
||||
},
|
||||
@@ -983,7 +983,7 @@
|
||||
"required_str": 10,
|
||||
"mass": "225 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "bandsaw" },
|
||||
"flags": [ "BLOCKSDOOR", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "BLOCKSDOOR", "NO_DECONSTRUCT" ],
|
||||
"item": "bandsaw",
|
||||
"bash": { "str_min": 40, "str_max": 150, "sound_fail": "clang!" }
|
||||
},
|
||||
@@ -1000,7 +1000,7 @@
|
||||
"mass": "500 kg",
|
||||
"required_str": 14,
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "router" },
|
||||
"flags": [ "BLOCKSDOOR", "TRANSPARENT", "MOUNTABLE", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "BLOCKSDOOR", "TRANSPARENT", "MOUNTABLE", "EASY_NO_DECONSTRUCTDECONSTRUCT" ],
|
||||
"item": "router",
|
||||
"bash": { "str_min": 40, "str_max": 150, "sound_fail": "clang!" }
|
||||
},
|
||||
@@ -1017,7 +1017,7 @@
|
||||
"required_str": 12,
|
||||
"mass": "130 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "planer" },
|
||||
"flags": [ "BLOCKSDOOR", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "BLOCKSDOOR", "NO_DECONSTRUCT" ],
|
||||
"item": "planer",
|
||||
"bash": { "str_min": 40, "str_max": 150, "sound_fail": "clang!" }
|
||||
},
|
||||
@@ -1034,7 +1034,7 @@
|
||||
"required_str": 14,
|
||||
"mass": "300 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "jointer" },
|
||||
"flags": [ "BLOCKSDOOR", "TRANSPARENT", "MOUNTABLE", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "BLOCKSDOOR", "TRANSPARENT", "MOUNTABLE", "NO_DECONSTRUCT" ],
|
||||
"item": "jointer",
|
||||
"bash": { "str_min": 40, "str_max": 150, "sound_fail": "clang!" }
|
||||
},
|
||||
@@ -1051,7 +1051,7 @@
|
||||
"required_str": 16,
|
||||
"mass": "500 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "catalytic_cracking_reactor" },
|
||||
"flags": [ "BLOCKSDOOR", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "BLOCKSDOOR", "NO_DECONSTRUCT" ],
|
||||
"bash": { "str_min": 40, "str_max": 150, "sound_fail": "clang!" },
|
||||
"item": "catalytic_cracking_reactor"
|
||||
},
|
||||
@@ -1068,7 +1068,7 @@
|
||||
"required_str": 16,
|
||||
"mass": "76 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "hydraulic_press" },
|
||||
"flags": [ "BLOCKSDOOR", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "BLOCKSDOOR", "NO_DECONSTRUCT" ],
|
||||
"bash": { "str_min": 40, "str_max": 150, "sound_fail": "clang!" },
|
||||
"item": "hydraulic_press"
|
||||
},
|
||||
@@ -1121,7 +1121,7 @@
|
||||
"required_str": 12,
|
||||
"mass": "170 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "air_compressor" },
|
||||
"flags": [ "BLOCKSDOOR", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "BLOCKSDOOR", "NO_DECONSTRUCT" ],
|
||||
"item": "air_compressor",
|
||||
"bash": { "str_min": 18, "str_max": 50, "sound": "metal screeching!", "sound_fail": "clang!" }
|
||||
},
|
||||
@@ -1138,7 +1138,7 @@
|
||||
"coverage": 30,
|
||||
"required_str": 10,
|
||||
"mass": "123 kg",
|
||||
"flags": [ "BLOCKSDOOR", "EASY_DECONSTRUCT" ],
|
||||
"flags": [ "BLOCKSDOOR", "NO_DECONSTRUCT" ],
|
||||
"item": "manual_tire_changer",
|
||||
"bash": { "str_min": 18, "str_max": 50, "sound": "metal screeching!", "sound_fail": "clang!" },
|
||||
"crafting_pseudo_item": "fake_tire_changer"
|
||||
@@ -1804,7 +1804,7 @@
|
||||
"BLOCKSDOOR",
|
||||
"MOUNTABLE",
|
||||
"LIQUIDCONT",
|
||||
"EASY_DECONSTRUCT"
|
||||
"NO_DECONSTRUCT"
|
||||
],
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "oil_press_electric" },
|
||||
"item": "oil_press_electric"
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 90,
|
||||
"required_str": 10,
|
||||
"mass": "50 kg",
|
||||
"mass": "95 kg",
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"deconstruct": { "items": [ { "item": "fridge", "count": 1 }, { "item": "apartment_freezer", "count": 1 } ] },
|
||||
"deconstruct": { "items": [ { "item": "apartment_fridge", "count": 1 }, { "item": "apartment_freezer", "count": 1 } ] },
|
||||
"max_volume": "433 L",
|
||||
"bash": {
|
||||
"str_min": 18,
|
||||
@@ -57,9 +57,9 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 90,
|
||||
"required_str": 10,
|
||||
"mass": "55 kg",
|
||||
"mass": "78 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "glass_fridge" },
|
||||
"flags": [ "PLACE_ITEM", "BLOCKSDOOR", "NO_SELF_CONNECT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"flags": [ "PLACE_ITEM", "BLOCKSDOOR", "NO_SELF_CONNECT", "NO_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"item": "glass_fridge",
|
||||
"max_volume": "347 L",
|
||||
"bash": {
|
||||
@@ -81,9 +81,9 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 90,
|
||||
"required_str": 10,
|
||||
"mass": "65 kg",
|
||||
"mass": "168 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "glass_fridge_double" },
|
||||
"flags": [ "PLACE_ITEM", "BLOCKSDOOR", "NO_SELF_CONNECT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"flags": [ "PLACE_ITEM", "BLOCKSDOOR", "NO_SELF_CONNECT", "NO_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"item": "glass_fridge_double",
|
||||
"max_volume": "991 L",
|
||||
"bash": {
|
||||
@@ -105,9 +105,9 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 90,
|
||||
"required_str": 10,
|
||||
"mass": "75 kg",
|
||||
"mass": "165 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "heavy_duty_fridge" },
|
||||
"flags": [ "PLACE_ITEM", "BLOCKSDOOR", "NO_SELF_CONNECT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"flags": [ "PLACE_ITEM", "BLOCKSDOOR", "NO_SELF_CONNECT", "NO_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"item": "heavy_duty_fridge",
|
||||
"max_volume": "700 L",
|
||||
"bash": {
|
||||
@@ -131,7 +131,7 @@
|
||||
"required_str": 10,
|
||||
"mass": "102 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "display_fridge" },
|
||||
"flags": [ "PLACE_ITEM", "BLOCKSDOOR", "NO_SELF_CONNECT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"flags": [ "PLACE_ITEM", "BLOCKSDOOR", "NO_SELF_CONNECT", "NO_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"item": "display_fridge",
|
||||
"max_volume": "600 L",
|
||||
"bash": {
|
||||
@@ -153,7 +153,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 60,
|
||||
"required_str": 10,
|
||||
"mass": "40 kg",
|
||||
"mass": "27 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "minifreezer" },
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"item": "minifreezer",
|
||||
@@ -177,7 +177,7 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 60,
|
||||
"required_str": 10,
|
||||
"mass": "40 kg",
|
||||
"mass": "25 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "chest_minifreezer" },
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"item": "chest_minifreezer",
|
||||
@@ -201,9 +201,9 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 70,
|
||||
"required_str": 10,
|
||||
"mass": "55 kg",
|
||||
"mass": "50 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "chest_freezer" },
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT", "NO_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"item": "chest_freezer",
|
||||
"max_volume": "350 L",
|
||||
"bash": {
|
||||
@@ -225,9 +225,9 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 90,
|
||||
"required_str": 10,
|
||||
"mass": "60 kg",
|
||||
"mass": "172 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "heavy_duty_freezer" },
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT", "NO_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"item": "heavy_duty_freezer",
|
||||
"max_volume": "745 L",
|
||||
"bash": {
|
||||
@@ -249,9 +249,9 @@
|
||||
"move_cost_mod": -1,
|
||||
"coverage": 90,
|
||||
"required_str": 10,
|
||||
"mass": "55 kg",
|
||||
"mass": "80 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "glass_freezer" },
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT", "NO_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"item": "glass_freezer",
|
||||
"max_volume": "400 L",
|
||||
"bash": {
|
||||
@@ -275,7 +275,7 @@
|
||||
"required_str": 10,
|
||||
"mass": "60 kg",
|
||||
"examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "display_freezer" },
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT", "EASY_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"flags": [ "CONTAINER", "PLACE_ITEM", "BLOCKSDOOR", "MINEABLE", "NO_SELF_CONNECT", "NO_DECONSTRUCT", "SMALL_HIDE" ],
|
||||
"item": "display_freezer",
|
||||
"max_volume": "320 L",
|
||||
"bash": {
|
||||
|
||||
@@ -89,6 +89,22 @@
|
||||
{ "group": "ammo_can_40x46mm_m433_full", "count": [ 3, 6 ], "prob": 192 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item_group",
|
||||
"id": "milspec_arsenal_group_ammo_part",
|
||||
"items": [
|
||||
{ "group": "ammo_can_9mm_any_part", "count": [ 1, 4 ], "prob": 96 },
|
||||
{ "group": "ammo_can_shot_any_part", "count": [ 1, 4 ], "prob": 150 },
|
||||
{ "group": "ammo_can_223_any_part", "count": [ 1, 4 ], "prob": 1450 },
|
||||
{ "group": "ammo_can_223_mg_any_part", "count": [ 1, 4 ], "prob": 110 },
|
||||
{ "group": "ammo_can_300_part", "count": [ 1, 4 ], "prob": 95 },
|
||||
{ "group": "ammo_can_308_any_part", "count": [ 1, 4 ], "prob": 95 },
|
||||
{ "group": "ammo_can_308_mg_any_part", "count": [ 1, 4 ], "prob": 42 },
|
||||
{ "group": "ammo_can_50_any_part", "count": [ 1, 4 ], "prob": 30 },
|
||||
{ "group": "ammo_can_50_mg_any_part", "count": [ 1, 2 ], "prob": 90 },
|
||||
{ "group": "ammo_can_40x46mm_m433_part", "count": [ 1, 4 ], "prob": 42 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "item_group",
|
||||
"id": "milspec_arsenal_group_ammo_heavy_full",
|
||||
|
||||
@@ -767,8 +767,8 @@
|
||||
"ammo_type": "gunpowder",
|
||||
"id": "gunpowder",
|
||||
"category": "chems",
|
||||
"price": "5 USD",
|
||||
"price_postapoc": "20 USD",
|
||||
"price": "14 cent",
|
||||
"price_postapoc": "4 USD",
|
||||
"name": { "str_sp": "mixed smokeless gunpowder" },
|
||||
"display_type": "BY_WEIGHT",
|
||||
"symbol": "=",
|
||||
@@ -777,11 +777,12 @@
|
||||
"sealed": false,
|
||||
"material": [ "powder" ],
|
||||
"flags": [ "TINDER" ],
|
||||
"volume": "250 ml",
|
||||
"volume": "55 ml",
|
||||
"weight": "100 mg",
|
||||
"count": 4540,
|
||||
"//": "tnt equivalent 1.08 g/tnt",
|
||||
"count": 1000,
|
||||
"explode_in_fire": true,
|
||||
"explosion": { "power": 42 }
|
||||
"explosion": { "power": 10 }
|
||||
},
|
||||
{
|
||||
"type": "ITEM",
|
||||
|
||||
@@ -150,7 +150,7 @@
|
||||
"insulation": 10,
|
||||
"material": [ "steel" ],
|
||||
"volume": "356878 ml",
|
||||
"weight": "56520 g",
|
||||
"weight": "37820 g",
|
||||
"pocket_data": [ { "pocket_type": "CONTAINER", "rigid": true, "max_contains_volume": "122 L", "max_contains_weight": "350 kg" } ]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -981,21 +981,6 @@
|
||||
{
|
||||
"type": "ITEM",
|
||||
"id": "chem_ammonium_nitrate",
|
||||
"category": "chems",
|
||||
"price": "1 cent",
|
||||
"price_postapoc": "1 cent",
|
||||
"name": { "str_sp": "ammonium nitrate powder" },
|
||||
"symbol": "=",
|
||||
"color": "white",
|
||||
"description": "A handful of ammonium nitrate powder. This white, crystalline powder is commonly used as a component of fertilizers and explosives. Could also be dissolved in water to sharply lower its temperature, but is there any use for this quality in this new world?",
|
||||
"material": [ "powder_nonflam" ],
|
||||
"volume": "1 ml",
|
||||
"weight": "1 g",
|
||||
"container": "bag_canvas"
|
||||
},
|
||||
{
|
||||
"type": "ITEM",
|
||||
"id": "chem_ammonium_nitrate_pellets",
|
||||
"looks_like": "fertilizer_commercial",
|
||||
"category": "chems",
|
||||
"price": "1 cent",
|
||||
@@ -1004,9 +989,19 @@
|
||||
"symbol": "=",
|
||||
"color": "white",
|
||||
"description": "A handful of ammonium nitrate pellets. These pellets are commonly used as a component of fertilizers and explosives. Could also be dissolved in water to sharply lower its temperature, but is there any use for this quality in this new world?",
|
||||
"material": [ "powder_nonflam" ],
|
||||
"variant_type": "generic",
|
||||
"variants": [
|
||||
{
|
||||
"id": "powder",
|
||||
"name": { "str": "ammonium nitrate powder" },
|
||||
"description": "A handful of ammonium nitrate powder. This white, crystalline powder is commonly used as a component of fertilizers and explosives. Could also be dissolved in water to sharply lower its temperature, but is there any use for this quality in this new world?.",
|
||||
"weight": 0
|
||||
}
|
||||
],
|
||||
"material": [ "dense_powder_nonflam" ],
|
||||
"volume": "1 ml",
|
||||
"weight": "1 g",
|
||||
"weight": "1725 mg",
|
||||
"//": "tnt equivalent 0.38 g/tnt",
|
||||
"container": "bag_canvas"
|
||||
},
|
||||
{
|
||||
@@ -1119,6 +1114,7 @@
|
||||
"material": [ "powder" ],
|
||||
"volume": "1 ml",
|
||||
"weight": "1 g",
|
||||
"//": "tnt equivalent 0.74 g/tnt",
|
||||
"container": "bag_canvas"
|
||||
},
|
||||
{
|
||||
@@ -1133,7 +1129,7 @@
|
||||
"color": "dark_gray",
|
||||
"description": "A handful of black gunpowder, a mix of saltpeter, charcoal, and sulfur. Pretty useless for making modern cartridges, as the soot produced when it burns will quickly clog any firearm, but it could be used to make some vicious bombs.",
|
||||
"material": [ "powder" ],
|
||||
"volume": "89 ml",
|
||||
"volume": "83 ml",
|
||||
"weight": "151 mg",
|
||||
"ammo_type": "chem_black_powder",
|
||||
"container": "bag_plastic_small",
|
||||
@@ -1150,7 +1146,7 @@
|
||||
"color": "white",
|
||||
"description": "A handful of Hexogen powder or RDX, commonly known as cyclonite: a military-grade, shelf-stable high explosive white, crystalline powder. Can be cast into shaped charges, or mixed with scrap to pepper the blast area with high-velocity shrapnel.",
|
||||
"material": [ "dense_powder" ],
|
||||
"//": "Density of RDX/Hexogen is 1.858 g/cm3",
|
||||
"//": [ "Density of RDX/Hexogen is 1.858 g/cm3", "tnt equivalent 1.38 g/tnt" ],
|
||||
"volume": "1 ml",
|
||||
"weight": "1858 mg"
|
||||
},
|
||||
@@ -1165,7 +1161,7 @@
|
||||
"color": "brown",
|
||||
"description": "Composition B is an explosive consisting of castable mixtures of Hexogen/RDX and TNT. It is used as the main explosive filling in artillery projectiles, rockets, land mines, hand grenades, and various other munitions.",
|
||||
"material": [ "dense_powder" ],
|
||||
"//": "Density of composition B is 1.65 g/cm3",
|
||||
"//": [ "Density of composition B is 1.65 g/cm3", "tnt equivalent 1.32 g/tnt" ],
|
||||
"volume": "1 ml",
|
||||
"weight": "1650 mg"
|
||||
},
|
||||
@@ -1180,7 +1176,7 @@
|
||||
"color": "white",
|
||||
"description": "Hexamine peroxide: this fine, yellowish powder is a powerful primary explosive, used to initiate detonation of more stable explosives, such as RDX. Relatively stable, but best not store it for too long. Widely used pre-Cataclysm in amateur-made blasting caps.",
|
||||
"material": [ "dense_powder" ],
|
||||
"//": "Density of RDX is 1.57 g/cm3",
|
||||
"//": [ "Density of RDX is 1.57 g/cm3", "tnt equivalent 0.8 g/tnt" ],
|
||||
"volume": "1 ml",
|
||||
"weight": "1570 mg",
|
||||
"container": "bag_plastic_small"
|
||||
@@ -1196,7 +1192,7 @@
|
||||
"color": "white",
|
||||
"description": "Acetone peroxide, also called APEX or Mother of Satan: this fine, white crystalline powder is a powerful primary explosive, used to initiate detonation of more stable explosives, such as RDX. Relatively stable, with a fruit-like smell when pure.",
|
||||
"material": [ "powder" ],
|
||||
"//": "Detonation velocity about 2500–3000 m/s near 0.5 g/cm3",
|
||||
"//": [ "Detonation velocity about 2500–3000 m/s near 0.5 g/cm3", "tnt equivalent 0.8 g/tnt" ],
|
||||
"volume": "1 ml",
|
||||
"weight": "500 mg",
|
||||
"container": "bag_plastic_small"
|
||||
|
||||
@@ -337,7 +337,7 @@
|
||||
"subtypes": [ "COMESTIBLE" ],
|
||||
"comestible_type": "MED",
|
||||
"name": { "str_sp": "hydrogen peroxide" },
|
||||
"description": "Dilute hydrogen peroxide, for use as an antiseptic and for bleaching hair or textiles. Foams a little when in contact with organic matter, but otherwise harmless.",
|
||||
"description": "Dilute hydrogen peroxide. Useful for bleaching hair or textiles, but not as effective at preventing infections as many people think.",
|
||||
"display_type": "BY_VOLUME",
|
||||
"weight": "28 g",
|
||||
"volume": "250 ml",
|
||||
@@ -985,7 +985,7 @@
|
||||
"subtypes": [ "COMESTIBLE" ],
|
||||
"comestible_type": "MED",
|
||||
"name": { "str_sp": "antiseptic" },
|
||||
"description": "A powerful antiseptic commonly used to disinfect wounds.",
|
||||
"description": "70% isopropyl alcohol solution. Contrary to popular belief, it's more effective as a household cleaner than an actual disinfectant.",
|
||||
"display_type": "BY_VOLUME",
|
||||
"weight": "27 g",
|
||||
"volume": "250 ml",
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
"material": [ "powder" ],
|
||||
"volume": "1 ml",
|
||||
"weight": "442 mg",
|
||||
"//": "density: 4.42 g/cm3"
|
||||
"//": [ "density: 4.42 g/cm3", "tnt equivalent 0.40 g/tnt" ]
|
||||
},
|
||||
{
|
||||
"type": "ITEM",
|
||||
@@ -162,7 +162,7 @@
|
||||
"material": [ "powder" ],
|
||||
"volume": "1 ml",
|
||||
"weight": "471 mg",
|
||||
"//": "density: 4.71 g/cm3"
|
||||
"//": [ "density: 4.71 g/cm3", "tnt equivalent 0.33 g/tnt" ]
|
||||
},
|
||||
{
|
||||
"type": "ITEM",
|
||||
|
||||
@@ -768,7 +768,7 @@
|
||||
"copy-from": "half_barrel_bomb",
|
||||
"name": { "str": "military explosive 50 L barrel bomb" },
|
||||
"description": "A metal keg filled with military explosives. Once it has been activated, it will explode after 100 seconds, raining fire and steel on everything in sight.",
|
||||
"weight": "135 kg",
|
||||
"weight": "95 kg",
|
||||
"explosion": { "power": 100000, "shrapnel": { "casing_mass": 12600, "fragment_mass": 600 } },
|
||||
"use_action": {
|
||||
"target": "military_explosive_half_barrel_bomb_act",
|
||||
@@ -802,7 +802,7 @@
|
||||
"copy-from": "full_barrel_bomb",
|
||||
"name": { "str": "military explosive 100 L barrel bomb" },
|
||||
"description": "A 100 L metal barrel filled with military explosives. Once it has been activated it will explode after 100 seconds, raining fire and steel on everything in sight.",
|
||||
"weight": "252 kg",
|
||||
"weight": "172 kg",
|
||||
"explosion": { "power": 200000, "shrapnel": { "casing_mass": 12000, "fragment_mass": 600 } },
|
||||
"use_action": {
|
||||
"target": "military_explosive_full_barrel_bomb_act",
|
||||
|
||||
@@ -78,12 +78,12 @@
|
||||
"fill_ter": "t_thconc_floor",
|
||||
"rows": [
|
||||
"........................",
|
||||
".#########§*###########.",
|
||||
".#########1*###########.",
|
||||
".#pppp do #@n@n@n@n#.",
|
||||
".# do #@ @ @ @ #.",
|
||||
".# hdo # #.",
|
||||
".# §ppp co # §#.",
|
||||
".#+########*## #.",
|
||||
".#+#######1*## #.",
|
||||
".# # @ @ @ @#.",
|
||||
".# + @n@n@n@#.",
|
||||
".######### ##########.",
|
||||
@@ -107,7 +107,7 @@
|
||||
"#": "t_wall_w",
|
||||
"*": [ [ "t_door_metal_c", 1 ], [ "t_door_metal_locked", 2 ] ],
|
||||
"+": [ "t_door_c", "t_door_locked_interior" ],
|
||||
"§": "t_card_military",
|
||||
"1": "t_card_military",
|
||||
"o": "t_reinforced_glass"
|
||||
},
|
||||
"furniture": {
|
||||
@@ -129,8 +129,8 @@
|
||||
"d": { "item": "SUS_office_filing_cabinet", "chance": 60, "repeat": [ 1, 2 ] },
|
||||
"n": { "item": "nightstand", "chance": 75, "repeat": [ 1, 2 ] },
|
||||
"p": { "item": "SUS_office_filing_cabinet", "chance": 50, "repeat": [ 1, 2 ] },
|
||||
"q": { "item": "guns_milspec", "chance": 20 },
|
||||
"r": { "item": "ammo_milspec", "chance": 50, "repeat": [ 0, 2 ] },
|
||||
"q": { "item": "guns_milspec", "chance": 80 },
|
||||
"r": { "item": "milspec_arsenal_group_ammo_part", "chance": 90 },
|
||||
"t": { "item": "SUS_toilet", "chance": 80 },
|
||||
"R": { "item": "any_MRE", "chance": 70, "repeat": [ 5, 20 ] },
|
||||
"S": { "item": "SUS_bathroom_sink", "chance": 80 },
|
||||
|
||||
@@ -632,14 +632,14 @@
|
||||
{
|
||||
"id": "MISSION_REACH_FEMA_CAMP",
|
||||
"type": "mission_definition",
|
||||
"name": { "str": "Reach FEMA Camp" },
|
||||
"name": { "str": "Reach FEMA Camp Entrance" },
|
||||
"goal": "MGOAL_GO_TO_TYPE",
|
||||
"difficulty": 2,
|
||||
"value": 60000,
|
||||
"start": { "effect": "follow_only" },
|
||||
"origins": [ "ORIGIN_SECONDARY" ],
|
||||
"followup": "MISSION_REACH_FARM_HOUSE",
|
||||
"destination": "fema",
|
||||
"destination": "fema_entrance",
|
||||
"dialogue": {
|
||||
"describe": "Maybe they escaped to one of the camps…",
|
||||
"offer": "I can't thank you enough for bringing me the patient records but I do have another request. You seem to know your way around… could you take me to one of the FEMA camps? I know some were overrun but I don't want to believe all of them could have fallen.",
|
||||
|
||||
@@ -145,13 +145,13 @@
|
||||
{
|
||||
"id": "MISSION_REACH_FEMA_CA",
|
||||
"type": "mission_definition",
|
||||
"name": { "str": "Reach FEMA Camp" },
|
||||
"name": { "str": "Reach FEMA Camp Entrance" },
|
||||
"goal": "MGOAL_GO_TO_TYPE",
|
||||
"difficulty": 2,
|
||||
"value": 60000,
|
||||
"start": { "assign_mission_target": { "om_terrain": "fema", "reveal_radius": 5, "om_special": "FEMA Camp" } },
|
||||
"start": { "assign_mission_target": { "om_terrain": "fema_entrance", "reveal_radius": 5, "om_special": "fema_camp_mutable" } },
|
||||
"origins": [ "ORIGIN_SECONDARY" ],
|
||||
"destination": "fema",
|
||||
"destination": "fema_entrance",
|
||||
"dialogue": {
|
||||
"describe": "Things must be better at the camp…",
|
||||
"offer": "We're all in this together, looking forward to meeting you there.",
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
"id": "methed_alcohol",
|
||||
"replace": "denat_alcohol"
|
||||
},
|
||||
{
|
||||
"type": "MIGRATION",
|
||||
"id": "chem_ammonium_nitrate_pellets",
|
||||
"replace": "chem_ammonium_nitrate"
|
||||
},
|
||||
{
|
||||
"type": "MIGRATION",
|
||||
"id": "reloaded_338lapua_api",
|
||||
|
||||
@@ -959,7 +959,7 @@
|
||||
"time": "1 s",
|
||||
"autolearn": true,
|
||||
"flags": [ "BLIND_EASY" ],
|
||||
"components": [ [ [ "chem_ammonium_nitrate_pellets", 27 ] ] ]
|
||||
"components": [ [ [ "chem_ammonium_nitrate", 27 ] ] ]
|
||||
},
|
||||
{
|
||||
"type": "recipe",
|
||||
@@ -1344,6 +1344,7 @@
|
||||
"type": "recipe",
|
||||
"activity_level": "LIGHT_EXERCISE",
|
||||
"result": "chem_ammonium_nitrate",
|
||||
"variant": "powder",
|
||||
"charges": 500,
|
||||
"byproducts": [ [ "water" ] ],
|
||||
"category": "CC_CHEM",
|
||||
@@ -1361,24 +1362,10 @@
|
||||
"tools": [ [ [ "surface_heat", 25, "LIST" ] ] ],
|
||||
"components": [ [ [ "chem_nitric_acid", 5 ] ], [ [ "ammonia_liquid", 5 ] ] ]
|
||||
},
|
||||
{
|
||||
"type": "recipe",
|
||||
"activity_level": "LIGHT_EXERCISE",
|
||||
"result": "chem_ammonium_nitrate",
|
||||
"id_suffix": "from_pellets",
|
||||
"name": "%s from pellets",
|
||||
"category": "CC_CHEM",
|
||||
"subcategory": "CSC_CHEM_CHEMICALS",
|
||||
"charges": 100,
|
||||
"time": "5 m",
|
||||
"autolearn": true,
|
||||
"qualities": [ { "id": "FINE_GRIND", "level": 1 }, { "id": "SIEVE", "level": 1 } ],
|
||||
"components": [ [ [ "chem_ammonium_nitrate_pellets", 100 ] ] ]
|
||||
},
|
||||
{
|
||||
"type": "recipe",
|
||||
"activity_level": "NO_EXERCISE",
|
||||
"result": "chem_ammonium_nitrate_pellets",
|
||||
"result": "chem_ammonium_nitrate",
|
||||
"category": "CC_CHEM",
|
||||
"subcategory": "CSC_CHEM_CHEMICALS",
|
||||
"charges": 27,
|
||||
@@ -1584,7 +1571,7 @@
|
||||
"book_learn": [ [ "textbook_anarch", 0 ], [ "recipe_labchem", 5 ], [ "textbook_chemistry", 7 ] ],
|
||||
"qualities": [ { "id": "CONTAIN", "level": 1 } ],
|
||||
"using": [ [ "fuel_liquid", 6 ] ],
|
||||
"components": [ [ [ "chem_ammonium_nitrate", 94 ], [ "chem_ammonium_nitrate_pellets", 94 ] ] ]
|
||||
"components": [ [ [ "chem_ammonium_nitrate", 94 ] ] ]
|
||||
},
|
||||
{
|
||||
"type": "recipe",
|
||||
|
||||
@@ -447,7 +447,7 @@
|
||||
"autolearn": true,
|
||||
"proficiencies": [ { "proficiency": "prof_handloading" } ],
|
||||
"qualities": [ { "id": "SAW_M", "level": 1 } ],
|
||||
"using": [ [ "volatile_explosive", 30 ] ],
|
||||
"using": [ [ "volatile_explosive_potent", 30 ] ],
|
||||
"//": [
|
||||
"As someone explained to me in the discord server, you could ",
|
||||
"only realistically use only volatile explosives to make a bomb ",
|
||||
|
||||
@@ -46,36 +46,47 @@
|
||||
{
|
||||
"id": "volatile_explosive",
|
||||
"type": "requirement",
|
||||
"name": "Volatile explosives",
|
||||
"//": "This should contain all the explosives you can set off with only a fuse, 10g tnt equivalent.",
|
||||
"components": [
|
||||
[
|
||||
[ "chem_black_powder", 90 ],
|
||||
[ "gunpowder", 90 ],
|
||||
[ "red_phosphorous_small", 100 ],
|
||||
[ "red_phosphorous", 1 ],
|
||||
[ "gunpowder_pistol", 90 ],
|
||||
[ "gunpowder_shotgun", 90 ],
|
||||
[ "gunpowder_magnum_pistol", 80 ],
|
||||
[ "gunpowder_artillery", 90 ],
|
||||
[ "gunpowder_rifle", 70 ],
|
||||
[ "chem_hmtd", 14 ],
|
||||
[ "chem_apex", 7 ],
|
||||
[ "chem_mercury_fulminate", 21 ],
|
||||
[ "chem_lead_azide", 21 ]
|
||||
[ "chem_black_powder", 201 ],
|
||||
[ "chem_mercury_fulminate", 57 ],
|
||||
[ "chem_lead_azide", 65 ],
|
||||
[ "volatile_explosive_potent", 1, "LIST" ]
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "volatile_explosive_potent",
|
||||
"type": "requirement",
|
||||
"name": "Potent volatile explosives",
|
||||
"//": "Same as volatile_explosive, but only one that are strong enough to be effective in smaller quantities, as a standalone explosive (threshold is around 0.8 g/tnt), 10g tnt equivalent.",
|
||||
"components": [
|
||||
[
|
||||
[ "gunpowder", 93 ],
|
||||
[ "gunpowder_pistol", 93 ],
|
||||
[ "gunpowder_shotgun", 93 ],
|
||||
[ "gunpowder_magnum_pistol", 93 ],
|
||||
[ "gunpowder_artillery", 93 ],
|
||||
[ "gunpowder_rifle", 93 ],
|
||||
[ "chem_hmtd", 8 ],
|
||||
[ "chem_apex", 25 ]
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "stable_explosive",
|
||||
"type": "requirement",
|
||||
"name": "Stable explosives",
|
||||
"//": "This should contain all the explosives you need to set off with an explosive primer, but can be used without casting in a crucible. 10g tnt equivalent.",
|
||||
"components": [ [ [ "chem_ammonium_nitrate", 24 ], [ "chem_ammonium_nitrate_pellets", 24 ], [ "chem_anfo", 14 ], [ "chem_rdx", 6 ] ] ]
|
||||
"components": [ [ [ "chem_ammonium_nitrate", 16 ], [ "chem_anfo", 14 ], [ "chem_rdx", 4 ] ] ]
|
||||
},
|
||||
{
|
||||
"id": "military_explosive",
|
||||
"type": "requirement",
|
||||
"//": "This should contain all the explosives you need to set off with an explosive primer or a fuze, and also need casting in a crucible. 10g tnt equivalent.",
|
||||
"components": [ [ [ "chem_compositionb", 8 ] ] ]
|
||||
"components": [ [ [ "chem_compositionb", 5 ] ] ]
|
||||
},
|
||||
{
|
||||
"id": "small_gas_canister_case",
|
||||
|
||||
@@ -519,6 +519,7 @@
|
||||
{ "value": "MELEE_TO_HIT", "add": 3 },
|
||||
{ "value": "KNOCKBACK_RESIST", "add": 100 },
|
||||
{ "value": "ARMOR_ALL", "multiply": -0.15 },
|
||||
{ "value": "REGEN_STAMINA", "multiply": 999 },
|
||||
{
|
||||
"value": "STRENGTH",
|
||||
"add": { "math": [ "3 + (u_spell_count('school': 'CHANGELING_SEASONAL_MAGIC_SUMMER') * 0.1) + (u_skill('gramarye') * 0.2)" ] }
|
||||
@@ -542,7 +543,8 @@
|
||||
{ "value": "FORCEFIELD", "add": 0.05 }
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"flags": [ "PAIN_IMMUNE", "CANNOT_GAIN_WEARINESS" ]
|
||||
},
|
||||
{
|
||||
"type": "effect_type",
|
||||
|
||||
@@ -195,6 +195,12 @@
|
||||
"num_args": 1,
|
||||
"return": "u_skill('deduction') * 500 + _0"
|
||||
},
|
||||
{
|
||||
"type": "jmath_function",
|
||||
"id": "paraclesian_gramarye_passive_spell_exp",
|
||||
"num_args": 0,
|
||||
"return": "u_skill('gramarye') * 500"
|
||||
},
|
||||
{
|
||||
"type": "jmath_function",
|
||||
"id": "xedra_chron_toggled_spell_count",
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
"flags": [ "FAEBLOOD", "NO_BODY_HEAT" ],
|
||||
"valid": false,
|
||||
"purifiable": false,
|
||||
"threshold": true
|
||||
"threshold": true,
|
||||
"enchantments": [ { "values": [ { "value": "MAX_MANA", "multiply": 0.3 } ] } ]
|
||||
},
|
||||
{
|
||||
"type": "mutation",
|
||||
@@ -19,7 +20,8 @@
|
||||
"flags": [ "FAEBLOOD", "NO_BODY_HEAT" ],
|
||||
"valid": false,
|
||||
"purifiable": false,
|
||||
"threshold": true
|
||||
"threshold": true,
|
||||
"enchantments": [ { "values": [ { "value": "MAX_MANA", "multiply": 0.3 } ] } ]
|
||||
},
|
||||
{
|
||||
"type": "mutation",
|
||||
@@ -30,7 +32,8 @@
|
||||
"flags": [ "FAEBLOOD", "NO_BODY_HEAT" ],
|
||||
"valid": false,
|
||||
"purifiable": false,
|
||||
"threshold": true
|
||||
"threshold": true,
|
||||
"enchantments": [ { "values": [ { "value": "MAX_MANA", "multiply": 0.3 } ] } ]
|
||||
},
|
||||
{
|
||||
"type": "mutation",
|
||||
@@ -41,7 +44,8 @@
|
||||
"flags": [ "FAEBLOOD" ],
|
||||
"valid": false,
|
||||
"purifiable": false,
|
||||
"threshold": true
|
||||
"threshold": true,
|
||||
"enchantments": [ { "values": [ { "value": "MAX_MANA", "multiply": 0.3 } ] } ]
|
||||
},
|
||||
{
|
||||
"type": "mutation",
|
||||
@@ -52,7 +56,8 @@
|
||||
"flags": [ "FAEBLOOD", "NO_BODY_HEAT" ],
|
||||
"valid": false,
|
||||
"purifiable": false,
|
||||
"threshold": true
|
||||
"threshold": true,
|
||||
"enchantments": [ { "values": [ { "value": "MAX_MANA", "multiply": 0.3 } ] } ]
|
||||
},
|
||||
{
|
||||
"type": "mutation",
|
||||
@@ -63,6 +68,7 @@
|
||||
"flags": [ "FAEBLOOD" ],
|
||||
"valid": false,
|
||||
"purifiable": false,
|
||||
"threshold": true
|
||||
"threshold": true,
|
||||
"enchantments": [ { "values": [ { "value": "MAX_MANA", "multiply": 0.3 } ] } ]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -200,6 +200,37 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "EOC_ARVORE_THORN_SPRAY_CHECK",
|
||||
"effect": [
|
||||
{
|
||||
"u_query_tile": "line_of_sight",
|
||||
"target_var": { "context_val": "arvore_thorn_spray_location" },
|
||||
"range": { "math": [ "min( (3 + (u_spell_count('school': 'ARVORE') * 0.45) + (u_skill('gramarye') * 0.7) ), 20)" ] },
|
||||
"z_level": false,
|
||||
"message": "Select tree to step to."
|
||||
},
|
||||
{
|
||||
"if": { "math": [ "has_var(_arvore_thorn_spray_location)" ] },
|
||||
"then": {
|
||||
"if": {
|
||||
"or": [
|
||||
{ "map_terrain_with_flag": "TREE", "loc": { "context_val": "arvore_thorn_spray_location" } },
|
||||
{ "map_terrain_with_flag": "YOUNG", "loc": { "context_val": "arvore_thorn_spray_location" } },
|
||||
{ "map_terrain_with_flag": "SHRUB", "loc": { "context_val": "arvore_thorn_spray_location" } }
|
||||
]
|
||||
},
|
||||
"then": [
|
||||
{ "u_cast_spell": { "id": "arvore_thorn_spray_spell_real" }, "loc": { "context_val": "arvore_thorn_spray_location" } },
|
||||
{ "u_message": "Sharp thorns suddenly grow from the foliage and burst outward!", "type": "neutral" }
|
||||
],
|
||||
"else": { "u_message": "You must select a tree to enact nature's vengeance." }
|
||||
},
|
||||
"else": { "u_message": "Canceled" }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "EOC_APPLY_PARACLESIAN_DODGE_BONUS",
|
||||
|
||||
@@ -433,7 +433,7 @@
|
||||
"magic_type": "xedra_arvore_magick",
|
||||
"base_energy_cost": { "math": [ "max( (450 + (u_spell_count('school': 'ARVORE') * -2) + (u_skill('gramarye') * -4.8) ), 250)" ] },
|
||||
"base_casting_time": { "math": [ "max( (150 + (u_spell_count('school': 'ARVORE') * -0.6) + (u_skill('gramarye') * -1.4) ), 100)" ] },
|
||||
"learn_spells": { "arvore_roots_spell": 7 }
|
||||
"learn_spells": { "arvore_thorn_spray_spell": 5, "arvore_roots_spell": 9 }
|
||||
},
|
||||
{
|
||||
"id": "arvore_summon_wood_spirit",
|
||||
@@ -572,7 +572,7 @@
|
||||
"difficulty": 5,
|
||||
"base_casting_time": { "math": [ "max( (150 + (u_spell_count('school': 'ARVORE') * 2.1) + (u_skill('gramarye') * -4.5) ), 75)" ] },
|
||||
"base_energy_cost": { "math": [ "max( (550 + (u_spell_count('school': 'ARVORE') * 9.8) + (u_skill('gramarye') * -15.2) ), 250)" ] },
|
||||
"learn_spells": { "arvore_roots_spell": 8, "arvore_tree_singing_spell": 12 }
|
||||
"learn_spells": { "arvore_roots_spell": 6, "arvore_thorn_spray_spell": 9, "arvore_tree_singing_spell": 12 }
|
||||
},
|
||||
{
|
||||
"id": "arvore_summon_briars_arc",
|
||||
@@ -1020,7 +1020,54 @@
|
||||
},
|
||||
"magic_type": "xedra_arvore_magick",
|
||||
"base_casting_time": { "math": [ "max( (150 + (u_spell_count('school': 'ARVORE') * -2.2) + (u_skill('gramarye') * -3.1) ), 50)" ] },
|
||||
"base_energy_cost": { "math": [ "max( (225 + (u_spell_count('school': 'ARVORE') * -2.2) + (u_skill('gramarye') * -3.1) ), 125)" ] }
|
||||
"base_energy_cost": { "math": [ "max( (225 + (u_spell_count('school': 'ARVORE') * -2.2) + (u_skill('gramarye') * -3.1) ), 125)" ] },
|
||||
"learn_spells": { "arvore_thorn_spray_spell": 6 }
|
||||
},
|
||||
{
|
||||
"id": "arvore_thorn_spray_spell",
|
||||
"type": "SPELL",
|
||||
"name": "Vengeance of the Trees",
|
||||
"description": "The tree bears the bite of the axe because it cannot fight back, except with your help. Grow long, vicious thorns from a tree or shrub and launch them out any anyone nearby. You must target a tree or shrub with this spell for it to function.",
|
||||
"message": "",
|
||||
"valid_targets": [ "self" ],
|
||||
"skill": "gramarye",
|
||||
"flags": [ "VERBAL", "SOMATIC", "NO_LEGS", "NO_EXPLOSION_SFX" ],
|
||||
"effect": "effect_on_condition",
|
||||
"effect_str": "EOC_ARVORE_THORN_SPRAY_CHECK",
|
||||
"shape": "blast",
|
||||
"difficulty": 5,
|
||||
"spell_class": "ARVORE",
|
||||
"teachable": false,
|
||||
"max_level": 15,
|
||||
"magic_type": "xedra_arvore_magick",
|
||||
"min_aoe": { "math": [ "min( (1 + (u_spell_count('school': 'ARVORE') * 0.15) + (u_skill('gramarye') * 0.3) ), 5)" ] },
|
||||
"max_aoe": { "math": [ "min( (1 + (u_spell_count('school': 'ARVORE') * 0.15) + (u_skill('gramarye') * 0.3) ), 5)" ] },
|
||||
"base_casting_time": { "math": [ "max( (120 + (u_spell_count('school': 'ARVORE') * 2.5) + (u_skill('gramarye') * -4.3) ), 80)" ] },
|
||||
"base_energy_cost": { "math": [ "max( (125 + (u_spell_count('school': 'ARVORE') * 3.2) + (u_skill('gramarye') * -5.6) ), 60)" ] }
|
||||
},
|
||||
{
|
||||
"id": "arvore_thorn_spray_spell_real",
|
||||
"type": "SPELL",
|
||||
"name": { "str": "Vengeance of the Trees Actual Effect", "//~": "NO_I18N" },
|
||||
"description": { "str": "The actual damage from the Vengeance of the Trees spell. Should not be visible", "//~": "NO_I18N" },
|
||||
"message": "",
|
||||
"valid_targets": [ "ground", "ally", "hostile", "self" ],
|
||||
"skill": "gramarye",
|
||||
"flags": [ "SILENT", "RANDOM_DAMAGE", "NO_PROJECTILE" ],
|
||||
"effect": "attack",
|
||||
"damage_type": "stab",
|
||||
"shape": "blast",
|
||||
"difficulty": 5,
|
||||
"spell_class": "ARVORE",
|
||||
"teachable": false,
|
||||
"max_level": 15,
|
||||
"min_damage": { "math": [ "4 + (u_spell_count('school': 'ARVORE') * 1.3) + (u_skill('gramarye') * 2.1)" ] },
|
||||
"max_damage": { "math": [ "14 + (u_spell_count('school': 'ARVORE') * 2.4) + (u_skill('gramarye') * 4.2)" ] },
|
||||
"min_aoe": { "math": [ "min( (1 + (u_spell_count('school': 'ARVORE') * 0.15) + (u_skill('gramarye') * 0.3) ), 5)" ] },
|
||||
"max_aoe": { "math": [ "min( (1 + (u_spell_count('school': 'ARVORE') * 0.15) + (u_skill('gramarye') * 0.3) ), 5)" ] },
|
||||
"min_range": 60,
|
||||
"max_range": 60,
|
||||
"magic_type": "xedra_arvore_magick"
|
||||
},
|
||||
{
|
||||
"id": "paraclesian_spell_dodge_bonus_arvore",
|
||||
@@ -1054,7 +1101,7 @@
|
||||
"id": "arvore_perennial_rebirth_spell",
|
||||
"type": "SPELL",
|
||||
"name": "Perennial Rebirth",
|
||||
"description": "Bind your soul to the heart of the forest, rebirthing yourself if you should die. You may only perform this in thick forests or at an arvore altar, you may be reborn no more than once in a lunar month.",
|
||||
"description": "Bind your soul to the heart of the forest, rebirthing yourself if you should die. You may only perform this in thick forests or at an arvore altar, and you may be reborn no more than once in a lunar month.",
|
||||
"flags": [ "SOMATIC", "VERBAL", "NO_FAIL" ],
|
||||
"valid_targets": [ "self" ],
|
||||
"skill": "gramarye",
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"deactivate_condition": { "not": { "u_has_trait": "ARVORE" } },
|
||||
"deactivate_condition": { "not": { "u_has_any_trait": [ "ARVORE", "BLOODTHORNE_DRUID_SYMBIOTIC_PLANT" ] } },
|
||||
"effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
{
|
||||
@@ -84,31 +84,162 @@
|
||||
"//": "This is a separate EoC to allow looping through until it finds a spell the Arvore knows. Probability is [11-Difficulty]",
|
||||
"condition": {
|
||||
"or": [
|
||||
{ "math": [ "u_spell_level('arvore_nurture_the_green') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_nurture_the_green_aoe') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_growing_wood_walls') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_commune_with_nature') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_summon_briars') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_traverse_the_wilds') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_cause_decay') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_create_living_tent_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_summon_preservation_container') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_summon_floral_boat') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_summon_wood_spirit') < 35" ] },
|
||||
{ "math": [ "u_spell_level('arvore_roots_crack_the_foundation') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_forest_translocate') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_overgrowth_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_verdant_infusion') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_summon_grass_field_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_roots_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_climbing_vine_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_anti_plant_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_damage_zombies_heal_living') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_turn_into_tree') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_tree_singing_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('arvore_cultivate_goblin_fruit') < 15" ] },
|
||||
{ "math": [ "u_spell_level('paraclesian_spell_dodge_bonus_arvore') < 15" ] },
|
||||
{ "math": [ "u_spell_level('paraclesian_spell_make_gossamer') < 8" ] }
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_nurture_the_green') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_nurture_the_green') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_nurture_the_green_aoe') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_nurture_the_green_aoe') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_growing_wood_walls') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_growing_wood_walls') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_commune_with_nature') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_commune_with_nature') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_summon_briars') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_summon_briars') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_traverse_the_wilds') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_traverse_the_wilds') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_cause_decay') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_cause_decay') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_create_living_tent_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_create_living_tent_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_summon_preservation_container') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_summon_preservation_container') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_summon_floral_boat') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_summon_floral_boat') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_summon_wood_spirit') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_summon_wood_spirit') < 35" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_roots_crack_the_foundation') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_roots_crack_the_foundation') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_forest_translocate') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_forest_translocate') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_overgrowth_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_overgrowth_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_verdant_infusion') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_verdant_infusion') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_summon_grass_field_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_summon_grass_field_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_roots_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_roots_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_thorn_spray_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_thorn_spray_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_climbing_vine_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('arvore_climbing_vine_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_anti_plant_spell') >= 0" ] },
|
||||
{ "math": [ "u_spell_level('arvore_anti_plant_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_damage_zombies_heal_living') >= 0" ] },
|
||||
{ "math": [ "u_spell_level('arvore_damage_zombies_heal_living') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_turn_into_tree') >= 0" ] },
|
||||
{ "math": [ "u_spell_level('arvore_turn_into_tree') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_tree_singing_spell') >= 0" ] },
|
||||
{ "math": [ "u_spell_level('arvore_tree_singing_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_cultivate_goblin_fruit') >= 0" ] },
|
||||
{ "math": [ "u_spell_level('arvore_cultivate_goblin_fruit') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('paraclesian_spell_dodge_bonus_arvore') >= 0" ] },
|
||||
{ "math": [ "u_spell_level('paraclesian_spell_dodge_bonus_arvore') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('paraclesian_spell_make_gossamer') >= 0" ] },
|
||||
{ "math": [ "u_spell_level('paraclesian_spell_make_gossamer') < 8" ] }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"effect": {
|
||||
@@ -129,6 +260,7 @@
|
||||
[ "EOC_LEVELER_ARVORE_VERDANT_INFUSION", 6 ],
|
||||
[ "EOC_LEVELER_ARVORE_SUMMON_GRASS_FIELD_SPELL", 10 ],
|
||||
[ "EOC_LEVELER_ARVORE_ROOTS_SPELL", 8 ],
|
||||
[ "EOC_LEVELER_ARVORE_THORN_SPRAY_SPELL", 6 ],
|
||||
[ "EOC_LEVELER_ARVORE_CLIMBING_VINE_SPELL", 8 ],
|
||||
[ "EOC_LEVELER_ARVORE_LIVING_TENT_SPELL", 6 ],
|
||||
[ "EOC_LEVELER_ARVORE_ANTI_PLANT_SPELL", 7 ],
|
||||
@@ -152,7 +284,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_nurture_the_green') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_nurture_the_green') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -167,7 +299,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_nurture_the_green_aoe') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_nurture_the_green_aoe') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -182,7 +314,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_growing_wood_walls') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_growing_wood_walls') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -197,7 +329,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_commune_with_nature') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_commune_with_nature') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -212,7 +344,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_summon_briars') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_summon_briars') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -227,7 +359,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_traverse_the_wilds') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_traverse_the_wilds') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -242,7 +374,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_cause_decay') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_cause_decay') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -257,7 +389,9 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_summon_preservation_container') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{
|
||||
"math": [ "u_spell_exp('arvore_summon_preservation_container') += paraclesian_gramarye_passive_spell_exp()" ]
|
||||
}
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -272,7 +406,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_summon_floral_boat') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_summon_floral_boat') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -287,7 +421,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_summon_wood_spirit') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_summon_wood_spirit') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -302,7 +436,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_roots_crack_the_foundation') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_roots_crack_the_foundation') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -317,7 +451,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_forest_translocate') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_forest_translocate') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -332,7 +466,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_overgrowth_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_overgrowth_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -347,7 +481,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_verdant_infusion') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_verdant_infusion') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -362,7 +496,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_summon_grass_field_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_summon_grass_field_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -377,7 +511,22 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_roots_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_roots_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
{
|
||||
"type": "effect_on_condition",
|
||||
"id": "EOC_LEVELER_ARVORE_THORN_SPRAY_SPELL",
|
||||
"condition": {
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('arvore_thorn_spray_spell') >= 0" ] },
|
||||
{ "math": [ "u_spell_level('arvore_thorn_spray_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_thorn_spray_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -392,7 +541,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_climbing_vine_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_climbing_vine_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -407,7 +556,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_create_living_tent_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_create_living_tent_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -422,7 +571,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_anti_plant_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_anti_plant_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -437,7 +586,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_damage_zombies_heal_living') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_damage_zombies_heal_living') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -452,7 +601,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_turn_into_tree') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_turn_into_tree') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -467,7 +616,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_tree_singing_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_tree_singing_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -482,7 +631,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('arvore_cultivate_goblin_fruit') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('arvore_cultivate_goblin_fruit') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -497,7 +646,9 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('paraclesian_spell_dodge_bonus_arvore') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{
|
||||
"math": [ "u_spell_exp('paraclesian_spell_dodge_bonus_arvore') += paraclesian_gramarye_passive_spell_exp()" ]
|
||||
}
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -512,7 +663,7 @@
|
||||
},
|
||||
"effect": [
|
||||
{ "run_eocs": "EOC_ARVORE_SUCCESSFUL_LEVELER_MESSAGE" },
|
||||
{ "math": [ "u_spell_exp('paraclesian_spell_make_gossamer') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('paraclesian_spell_make_gossamer') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_ARVORE_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
}
|
||||
|
||||
@@ -51,7 +51,10 @@
|
||||
"enchantments": [
|
||||
"ench_paraclesian_modern_technology_computer_ignorance",
|
||||
"ench_paraclesian_modern_technology_electronics_ignorance",
|
||||
{ "ench_effects": [ { "effect": "effect_lilin_vampire_immune", "intensity": 1 } ] }
|
||||
{ "ench_effects": [ { "effect": "effect_lilin_vampire_immune", "intensity": 1 } ] },
|
||||
{
|
||||
"values": [ { "value": "MAX_MANA", "add": { "math": [ "u_sum_traits_of_category_char_has('IERDE') * 35" ] } } ]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -126,6 +129,9 @@
|
||||
{
|
||||
"condition": { "and": [ "u_is_outside", "is_day", { "math": [ "global_what_is_the_season != 4" ] } ] },
|
||||
"ench_effects": [ { "effect": "effect_arvore_is_day_in_the_sun_not_winter", "intensity": 1 } ]
|
||||
},
|
||||
{
|
||||
"values": [ { "value": "MAX_MANA", "add": { "math": [ "u_sum_traits_of_category_char_has('ARVORE') * 35" ] } } ]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -181,7 +187,10 @@
|
||||
"enchantments": [
|
||||
"ench_paraclesian_modern_technology_computer_ignorance",
|
||||
"ench_paraclesian_modern_technology_electronics_ignorance",
|
||||
{ "ench_effects": [ { "effect": "effect_lilin_vampire_immune", "intensity": 1 } ] }
|
||||
{ "ench_effects": [ { "effect": "effect_lilin_vampire_immune", "intensity": 1 } ] },
|
||||
{
|
||||
"values": [ { "value": "MAX_MANA", "add": { "math": [ "u_sum_traits_of_category_char_has('SALAMANDER') * 35" ] } } ]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -204,6 +213,9 @@
|
||||
{ "value": "THIRST", "multiply": -1 },
|
||||
{ "value": "SWEAT_MULTIPLIER", "multiply": -1 }
|
||||
]
|
||||
},
|
||||
{
|
||||
"values": [ { "value": "MAX_MANA", "add": { "math": [ "u_sum_traits_of_category_char_has('UNDINE') * 35" ] } } ]
|
||||
}
|
||||
],
|
||||
"ignored_by": [ "UNDINE" ],
|
||||
@@ -297,7 +309,10 @@
|
||||
"enchantments": [
|
||||
"ench_paraclesian_homullus_modern_technology_computer_ignorance",
|
||||
"ench_paraclesian_homullus_modern_technology_electronics_ignorance",
|
||||
{ "ench_effects": [ { "effect": "effect_lilin_vampire_immune", "intensity": 1 } ] }
|
||||
{ "ench_effects": [ { "effect": "effect_lilin_vampire_immune", "intensity": 1 } ] },
|
||||
{
|
||||
"values": [ { "value": "MAX_MANA", "add": { "math": [ "u_sum_traits_of_category_char_has('HOMULLUS') * 35" ] } } ]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -352,7 +367,10 @@
|
||||
"enchantments": [
|
||||
"ench_paraclesian_modern_technology_computer_ignorance",
|
||||
"ench_paraclesian_modern_technology_electronics_ignorance",
|
||||
{ "ench_effects": [ { "effect": "effect_lilin_vampire_immune", "intensity": 1 } ] }
|
||||
{ "ench_effects": [ { "effect": "effect_lilin_vampire_immune", "intensity": 1 } ] },
|
||||
{
|
||||
"values": [ { "value": "MAX_MANA", "add": { "math": [ "u_sum_traits_of_category_char_has('SYLPH') * 35" ] } } ]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
+140
-40
@@ -54,26 +54,126 @@
|
||||
"//": "This is a separate EoC to allow looping through until it finds a spell the Salamander knows. Probability is [11-Difficulty]",
|
||||
"condition": {
|
||||
"or": [
|
||||
{ "math": [ "u_spell_level('salamander_make_fire') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_dash_boom_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_explosion_trap_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_smoke_teleport_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_flame_punch_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_summon_fire_spirit') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_ash_breath_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_fire_breath') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_summon_firebird_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_increase_speed_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_flaming_whip_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_emit_heat') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_cure_conditions') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_fire_dot_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('create_light_salamander') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_fire_fly') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_ally_flame_immune_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_explosion_and_heal_spell') < 15" ] },
|
||||
{ "math": [ "u_spell_level('salamander_cultivate_goblin_fruit') < 15" ] },
|
||||
{ "math": [ "u_spell_level('paraclesian_spell_make_gossamer') < 8" ] }
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_make_fire') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_make_fire') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_dash_boom_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_dash_boom_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_explosion_trap_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_explosion_trap_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_smoke_teleport_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_smoke_teleport_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_flame_punch_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_flame_punch_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_summon_fire_spirit') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_summon_fire_spirit') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_ash_breath_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_ash_breath_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_fire_breath') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_fire_breath') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_summon_firebird_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_summon_firebird_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_increase_speed_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_increase_speed_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_flaming_whip_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_flaming_whip_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_emit_heat') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_emit_heat') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_cure_conditions') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_cure_conditions') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_fire_dot_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_fire_dot_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('create_light_salamander') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('create_light_salamander') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_fire_fly') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_fire_fly') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_ally_flame_immune_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_ally_flame_immune_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_explosion_and_heal_spell') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_explosion_and_heal_spell') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('salamander_cultivate_goblin_fruit') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('salamander_cultivate_goblin_fruit') < 15" ] }
|
||||
]
|
||||
},
|
||||
{
|
||||
"and": [
|
||||
{ "math": [ "u_spell_level('paraclesian_spell_make_gossamer') >= 0 " ] },
|
||||
{ "math": [ "u_spell_level('paraclesian_spell_make_gossamer') < 15" ] }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"effect": {
|
||||
@@ -115,7 +215,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_make_fire') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_make_fire') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -133,7 +233,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_dash_boom_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_dash_boom_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -151,7 +251,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_explosion_trap_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_explosion_trap_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -169,7 +269,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_smoke_teleport_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_smoke_teleport_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -187,7 +287,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_flame_punch_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_flame_punch_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -205,7 +305,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_summon_fire_spirit') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_summon_fire_spirit') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -223,7 +323,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_ash_breath_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_ash_breath_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -241,7 +341,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_fire_breath') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_fire_breath') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -259,7 +359,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_summon_firebird_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_summon_firebird_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -277,7 +377,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_increase_speed_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_increase_speed_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -295,7 +395,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_flaming_whip_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_flaming_whip_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -313,7 +413,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_emit_heat') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_emit_heat') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -331,7 +431,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_cure_conditions') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_cure_conditions') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -349,7 +449,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_fire_dot_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_fire_dot_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -367,7 +467,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('create_light_salamander') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('create_light_salamander') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -385,7 +485,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_fire_fly') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_fire_fly') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -403,7 +503,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_ally_flame_immune_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_ally_flame_immune_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -421,7 +521,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_explosion_and_heal_spell') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_explosion_and_heal_spell') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -439,7 +539,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('salamander_cultivate_goblin_fruit') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('salamander_cultivate_goblin_fruit') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
},
|
||||
@@ -457,7 +557,7 @@
|
||||
"u_message": "Your time spent among the heat and flames has increased your facility with your fae magicks.",
|
||||
"type": "good"
|
||||
},
|
||||
{ "math": [ "u_spell_exp('paraclesian_spell_make_gossamer') += paraclesian_passive_spell_exp(1)" ] }
|
||||
{ "math": [ "u_spell_exp('paraclesian_spell_make_gossamer') += paraclesian_gramarye_passive_spell_exp()" ] }
|
||||
],
|
||||
"false_effect": [ { "run_eocs": "EOC_SALAMANDER_SPELL_EXPERIENCE_INCREASER_SELECTOR" } ]
|
||||
}
|
||||
|
||||
@@ -601,7 +601,7 @@
|
||||
"id": "changeling_summer_combat_prowess_powerful_buff_spell",
|
||||
"type": "SPELL",
|
||||
"name": "Ríastrad",
|
||||
"description": "Enter a focused battle fury, vastly increasing your combat prowess. When it fades, however, you will suffer a bout of weariness. The weariness you suffer <color_yellow>is doubled</color> in winter.",
|
||||
"description": "Enter a focused battle fury, vastly increasing your combat prowess. You will move faster, strike harder, and fight on heedless of pain or weariness. While the glanour is in effect, however, you are filled with the urge to slay and <color_red>cannot retreat</color>, and when it fades you will suffer a bout of weariness. The weariness you suffer <color_yellow>is doubled</color> in winter.",
|
||||
"message": "Your body warps and twists as you invoke the power of the Ríastrad.",
|
||||
"flags": [ "NO_HANDS", "RANDOM_DURATION", "NO_LEGS" ],
|
||||
"magic_type": "xe_fey_seasonal_magick_summer",
|
||||
|
||||
@@ -364,10 +364,7 @@
|
||||
"u_add_effect": "effect_changeling_summer_combat_prowess_powerful_buff",
|
||||
"duration": { "math": [ "_buff_duration" ] }
|
||||
},
|
||||
{
|
||||
"u_add_effect": "effect_changeling_summer_combat_prowess_powerful_buff",
|
||||
"duration": { "math": [ "_buff_duration" ] }
|
||||
},
|
||||
{ "u_add_effect": "berserk", "duration": { "math": [ "_buff_duration" ] } },
|
||||
{ "u_spawn_item": "integrated_riastrad_item", "suppress_message": true, "force_equip": true },
|
||||
{
|
||||
"run_eocs": "EOC_CHANGELING_SUMMER_COMBAT_PROWESS_POWERFUL_BUFF_END",
|
||||
|
||||
@@ -710,6 +710,7 @@ Can also be used as `pre_flags` for `construction`.
|
||||
- ```LIQUIDCONT``` Furniture that contains liquid, allows for contents to be accessed in some checks even if `SEALED`.
|
||||
- ```LIQUID``` Terrain is liquid (e.g. water, lava, etc.), blocking movement without being a wall.
|
||||
- ```LOCKED``` Is locked, requiring either external control or lockpicking to open.
|
||||
- ```NO_DECONSTRUCT``` This terrain/furniture has a base `item` defined, but cannot be disassembled into this item
|
||||
- ```MINEABLE``` Can be mined with a pickaxe/jackhammer.
|
||||
- ```MOUNTABLE``` Suitable for guns with the `MOUNTED_GUN` flag.
|
||||
- ```NANOFAB_TABLE``` This is a nanofabricator, and it can generate items out of specific blueprints. Hardcoded
|
||||
|
||||
@@ -1714,10 +1714,12 @@ bool construct::check_deconstruct( const tripoint_bub_ms &p )
|
||||
if( here.has_flag_furn( ter_furn_flag::TFLAG_EASY_DECONSTRUCT, p ) ) {
|
||||
return false;
|
||||
}
|
||||
return !!here.furn( p ).obj().deconstruct || !here.furn( p ).obj().base_item.is_null();
|
||||
return !!here.furn( p ).obj().deconstruct ||
|
||||
( !here.furn( p ).obj().base_item.is_null() && !here.furn( p ).obj().has_flag( "NO_DECONSTRUCT" ) );
|
||||
}
|
||||
// terrain can only be deconstructed when there is no furniture in the way
|
||||
return !!here.ter( p ).obj().deconstruct || !here.furn( p ).obj().base_item.is_null();
|
||||
return !!here.ter( p ).obj().deconstruct ||
|
||||
( !here.furn( p ).obj().base_item.is_null() || !here.furn( p ).obj().has_flag( "NO_DECONSTRUCT" ) );
|
||||
}
|
||||
|
||||
bool construct::check_up_OK( const tripoint_bub_ms & )
|
||||
@@ -1956,7 +1958,7 @@ void construct::done_deconstruct( const tripoint_bub_ms &p, Character &player_ch
|
||||
add_msg( _( "The %s is disassembled." ), f.name() );
|
||||
item &item_here = here.i_at( p ).size() != 1 ? null_item_reference() : here.i_at( p ).only_item();
|
||||
std::vector<item *> drop;
|
||||
if( !f.base_item.is_null() ) {
|
||||
if( !f.base_item.is_null() && !f.has_flag( "NO_DECONSTRUCT" ) ) {
|
||||
here.spawn_item( p, f.base_item );
|
||||
} else {
|
||||
drop = here.spawn_items( p, item_group::items_from( f.deconstruct->drop_group, calendar::turn ) );
|
||||
@@ -2001,7 +2003,7 @@ void construct::done_deconstruct( const tripoint_bub_ms &p, Character &player_ch
|
||||
here.ter_set( p, t.deconstruct->ter_set );
|
||||
add_msg( _( "The %s is disassembled." ), t.name() );
|
||||
|
||||
if( !t.base_item.is_null() ) {
|
||||
if( !t.base_item.is_null() && !t.has_flag( "NO_DECONSTRUCT" ) ) {
|
||||
here.spawn_item( p, t.base_item );
|
||||
} else {
|
||||
here.spawn_items( p, item_group::items_from( t.deconstruct->drop_group, calendar::turn ) );
|
||||
|
||||
@@ -577,6 +577,7 @@ class item
|
||||
bool debug ) const;
|
||||
void qualities_info( std::vector<iteminfo> &info, const iteminfo_query *parts, int batch,
|
||||
bool debug ) const;
|
||||
void use_methods_info( std::vector<iteminfo> &info, const iteminfo_query *parts, int, bool ) const;
|
||||
void bionic_info( std::vector<iteminfo> &info, const iteminfo_query *parts, int batch,
|
||||
bool debug ) const;
|
||||
void melee_combat_info( std::vector<iteminfo> &info, const iteminfo_query *parts, int batch,
|
||||
|
||||
+66
-9
@@ -53,6 +53,7 @@
|
||||
#include "item_factory.h"
|
||||
#include "item_location.h"
|
||||
#include "item_pocket.h"
|
||||
#include "item_transformation.h"
|
||||
#include "item_uid.h"
|
||||
#include "iteminfo_query.h"
|
||||
#include "itype.h"
|
||||
@@ -3463,6 +3464,70 @@ void item::qualities_info( std::vector<iteminfo> &info, const iteminfo_query *pa
|
||||
}
|
||||
}
|
||||
|
||||
// bomb -> activate -> bomb_act -> countdown_action -> explosion
|
||||
static void print_transformed_bomb_info( const item &it, std::vector<iteminfo> &info )
|
||||
{
|
||||
|
||||
if( !it.has_flag( flag_BOMB ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
const use_function *bomb_use = it.type->get_use( "transform" );
|
||||
if( bomb_use == nullptr ) {
|
||||
// no transformation
|
||||
return;
|
||||
}
|
||||
|
||||
const iuse_transform *bomb_actor =
|
||||
dynamic_cast<const iuse_transform *>( bomb_use->get_actor_ptr() );
|
||||
if( bomb_actor == nullptr ) {
|
||||
return;
|
||||
}
|
||||
|
||||
const itype_id bomb_act = bomb_actor->transform.target;
|
||||
|
||||
const use_function *bomb_act_use = &bomb_act->countdown_action;
|
||||
if( bomb_act_use == nullptr ) {
|
||||
return;
|
||||
}
|
||||
|
||||
const explosion_iuse *bomb_act_actor =
|
||||
dynamic_cast<const explosion_iuse *>( bomb_act_use->get_actor_ptr() );
|
||||
|
||||
if( bomb_act_actor == nullptr ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// there are stuff like emp grenades, that are explosions, but do not print anything
|
||||
std::vector<iteminfo> new_info;
|
||||
bomb_act->countdown_action.dump_info( item( bomb_act ), new_info );
|
||||
|
||||
if( !new_info.empty() ) {
|
||||
insert_separation_line( info );
|
||||
info.emplace_back( "TOOL", _( "When activated:" ) );
|
||||
info.insert( info.end(), new_info.begin(), new_info.end() );
|
||||
}
|
||||
}
|
||||
|
||||
void item::use_methods_info( std::vector<iteminfo> &info, const iteminfo_query *parts,
|
||||
int /*batch*/, bool /*debug*/ ) const
|
||||
{
|
||||
|
||||
// Uses for item (bandaging quality, holster capacity, grenade activation)
|
||||
if( parts->test( iteminfo_parts::DESCRIPTION_USE_METHODS ) ) {
|
||||
for( const std::pair<const std::string, use_function> &method : type->use_methods ) {
|
||||
insert_separation_line( info );
|
||||
method.second.dump_info( *this, info );
|
||||
}
|
||||
|
||||
// todo: some good general way to print countdown action info
|
||||
|
||||
// if transforms into bomb, print a bomb info as well
|
||||
print_transformed_bomb_info( *this, info );
|
||||
}
|
||||
}
|
||||
|
||||
void item::bionic_info( std::vector<iteminfo> &info, const iteminfo_query *parts, int /*batch*/,
|
||||
bool /*debug*/ ) const
|
||||
{
|
||||
@@ -4446,15 +4511,7 @@ std::vector<iteminfo> item::get_info( const iteminfo_query *parts, int batch ) c
|
||||
actions_info( info, parts, batch, debug );
|
||||
component_info( info, parts, batch, debug );
|
||||
qualities_info( info, parts, batch, debug );
|
||||
|
||||
// Uses for item (bandaging quality, holster capacity, grenade activation)
|
||||
if( parts->test( iteminfo_parts::DESCRIPTION_USE_METHODS ) ) {
|
||||
for( const std::pair<const std::string, use_function> &method : type->use_methods ) {
|
||||
insert_separation_line( info );
|
||||
method.second.dump_info( *this, info );
|
||||
}
|
||||
}
|
||||
|
||||
use_methods_info( info, parts, batch, debug );
|
||||
repair_info( info, parts, batch, debug );
|
||||
enchantment_info( info, parts, batch, debug );
|
||||
disassembly_info( info, parts, batch, debug );
|
||||
|
||||
+18
-5
@@ -813,19 +813,32 @@ std::optional<int> explosion_iuse::use( Character *p, item &it, map *here,
|
||||
return 1;
|
||||
}
|
||||
|
||||
void explosion_iuse::info( const item &, std::vector<iteminfo> &dump ) const
|
||||
void explosion_iuse::info( const item &it, std::vector<iteminfo> &dump ) const
|
||||
{
|
||||
if( explosion.power <= 0 ) {
|
||||
// TODO: List other effects, like EMP and clouds
|
||||
return;
|
||||
}
|
||||
|
||||
dump.emplace_back( "TOOL", _( "Power at epicenter: " ), explosion.power );
|
||||
dump.emplace_back( "TOOL", _( "Explosion delay: " ), to_string( it.type->countdown_interval ) );
|
||||
dump.emplace_back( "TOOL", _( "Power at epicenter: " ), "<num> g of TNT", iteminfo::no_flags,
|
||||
explosion.power );
|
||||
|
||||
const shrapnel_data &sd = explosion.shrapnel;
|
||||
if( sd.casing_mass > 0 ) {
|
||||
dump.emplace_back( "TOOL", _( "Casing mass: " ), sd.casing_mass );
|
||||
dump.emplace_back( "TOOL", _( "Fragment mass: " ), string_format( "%.2f",
|
||||
sd.fragment_mass ) );
|
||||
|
||||
const float ratio = sd.casing_mass / units::to_gram<float>( it.weight() );
|
||||
|
||||
std::string casing_size;
|
||||
if( ratio > 0.50f ) {
|
||||
casing_size = colorize( _( "Vast" ), c_green );
|
||||
} else if( ratio > 0.25f ) {
|
||||
casing_size = colorize( _( "Moderate" ), c_yellow );
|
||||
} else {
|
||||
casing_size = colorize( _( "Little" ), c_red );
|
||||
}
|
||||
|
||||
dump.emplace_back( "TOOL", _( "Shrapnel: " ), casing_size );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user