Compare commits

..

24 Commits

Author SHA1 Message Date
Angela Graves 03019f7e19 Merge pull request #48796 from Fris0uman/fixRD
Fix accidentally deleted overlay_ordering info in RretroDays
2021-05-09 06:00:32 -05:00
Fris0uman 9af61d82ee Fix accidentally deleted overlay_ordering info 2021-05-08 19:40:32 +02:00
Angela Graves 90f9945d36 Merge pull request #48790 from John-Candlebury/afs_tanker_fix
Aftershock: Remove obsolete vehicles from spawn list
2021-05-08 04:09:39 -05:00
Kevin Granade df08e8d32e Add osx build to release workflow (#48784) 2021-05-07 21:08:34 -07:00
John Candlebury 9faa0538b7 Remove obsolete vehicles from spawn list 2021-05-07 20:42:21 -06:00
Maleclypse 17c44e4784 [Magiclysm] Endless Whiskey adjustment (#48789)
* magic whiskey
2021-05-07 19:27:04 -07:00
LaVeyanFiend 94c1904fe5 No charcoal alchemy (#48788) 2021-05-07 19:20:30 -07:00
Kevin Granade 551cdfc891 Merge pull request #48783 from BrettDong/dmgdist
Fix "make dmgdist" error on native macOS
2021-05-07 19:12:39 -07:00
Binrui Dong fa32e5e489 Update dmgback.png path in dmgsettings.py 2021-05-07 20:18:51 -04:00
Binrui Dong 83bd11a2ff Convert Info.plist to binary format when making dmg on macOS 2021-05-07 20:18:51 -04:00
Angela Graves 7485857311 Merge pull request #48769 from Saicchi/cappills
Cap duration of more effects
2021-05-07 03:47:26 -05:00
Zhilkin Serg a5242e0a81 Merge pull request #48760 from LyleSY/patch-14
thorny moose shambler fix
2021-05-07 10:28:52 +03:00
Zhilkin Serg cd13fdb4a0 Merge pull request #48776 from int-ua/patch-2
compose.py: use the default values when none provided in config
2021-05-07 10:27:31 +03:00
Zhilkin Serg f962680b25 Merge pull request #48762 from Zeropol/trident-looks-like-something
[Aftershock] make trident looks like pitchfork
2021-05-07 10:27:07 +03:00
Zhilkin Serg 9f738755aa Merge pull request #48773 from akirashirosawa/fix-bowl_plastic-category
change bowl_plastic category to container
2021-05-07 10:26:51 +03:00
Serhiy Zahoriya 29881a2bd8 compose.py: actually use the default values 2021-05-06 23:54:18 +03:00
Kevin Granade e4d05ed858 Update release.yml (#48775) 2021-05-06 12:31:48 -07:00
akirashirosawa 09a911b5a9 change bowl_plastic category to container 2021-05-06 15:03:23 +03:00
Angela Graves 594c79a132 Merge pull request #48759 from LyleSY/patch-12
fix boneplate wolf bug
2021-05-06 04:14:32 -05:00
Saicchi 347ca1a35f cap duration of more effects 2021-05-06 05:03:53 -03:00
casswedson e8e203b06c fix guns penetrating vehicle walls (#48764)
slings and some acidic monster attacks
2021-05-05 22:07:00 -07:00
zeropol e11276f351 make trident looks like pitchfork
Trident had only a symbol, and at the time of this commit had no sprite.
2021-05-05 22:09:44 +02:00
LyleSY 023fa5d1a0 thorny moose shambler fix 2021-05-05 14:50:48 -04:00
LyleSY 8b77a0ef86 fix boneplate wolf bug
change melee_dice from 0 to 2
2021-05-05 14:44:57 -04:00
15 changed files with 178 additions and 40 deletions
+80 -9
View File
@@ -30,7 +30,7 @@ jobs:
These are the outputs for the experimental build of commit [${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})
draft: false
prerelease: true
windows:
builds:
needs: release
strategy:
matrix:
@@ -38,24 +38,85 @@ jobs:
- name: Windows Tiles x64
mxe: x86_64
artifact: windows-tiles-x64
os: ubuntu-latest
ext: zip
content: application/zip
- name: Windows Tiles x32
mxe: i686
artifact: windows-tiles-x32
os: ubuntu-latest
ext: zip
content: application/zip
- name: Linux Tiles x64
os: ubuntu-latest
mxe: none
tiles: 1
artifact: linux-tiles-x64
ext: tar.gz
content: application/gzip
- name: linux-curses-x64
os: ubuntu-latest
mxe: none
tiles: 0
artifact: linux-curses-x64
ext: tar.gz
content: application/gzip
- name: osx-curses-x64
os: macos-10.15
mxe: none
tiles: 0
artifact: osx-curses-x64
ext: dmg
content: application/x-apple-diskimage
- name: osx-tiles-x64
os: macos-10.15
mxe: none
tiles: 1
artifact: osx-tiles-x64
ext: dmg
content: application/x-apple-diskimage
name: ${{ matrix.name }}
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Install dependencies
- name: Install dependencies (windows)
if: matrix.mxe != 'none'
run: |
sudo apt install astyle autoconf automake autopoint bash bison bzip2 cmake flex gettext git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev libtool libltdl-dev libssl-dev libxml-parser-perl lzip make mingw-w64 openssl p7zip-full patch perl pkg-config python ruby scons sed unzip wget xz-utils g++-multilib libc6-dev-i386 libtool-bin
sudo apt install astyle autoconf automake autopoint bash bison bzip2 cmake flex gettext git g++ gperf intltool \
libffi-dev libgdk-pixbuf2.0-dev libtool libltdl-dev libssl-dev libxml-parser-perl lzip make mingw-w64 openssl \
p7zip-full patch perl pkg-config python ruby scons sed unzip wget xz-utils g++-multilib libc6-dev-i386 libtool-bin
- name: Install MXE
if: matrix.mxe != 'none'
run: |
sudo apt install software-properties-common lsb-release
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 86B72ED9
sudo add-apt-repository "deb [arch=amd64] https://pkg.mxe.cc/repos/apt `lsb_release -sc` main"
sudo apt update
sudo apt install mxe-{i686,x86-64}-w64-mingw32.static-{sdl2,sdl2-ttf,sdl2-image,sdl2-mixer,gettext}
- name: Build CDDA
- name: Install dependencies (Linux)
if: runner.os == 'Linux' && matrix.mxe == 'none'
run: |
sudo apt-get update
sudo apt-get install libncursesw5-dev libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev \
libsdl2-mixer-dev libpulse-dev ccache gettext parallel
- name: Install dependencies (mac)
if: runner.os == 'macOS'
run: |
HOMEBREW_NO_AUTO_UPDATE=yes HOMEBREW_NO_INSTALL_CLEANUP=yes brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer gettext ccache parallel
pip3 install dmgbuild biplist
- name: Build CDDA (linux)
if: runner.os == 'Linux' && matrix.mxe == 'none'
run: |
cat >VERSION.txt <<EOL
build type: ${{ matrix.artifact }}
build number: ${{ github.run_number }}
commit sha: ${{ github.sha }}
commit url: https://github.com/${{ github.repository }}/commit/${{ github.sha }}
EOL
make -j$((`nproc`+0)) TILES=${{ matrix.tiles }} SOUND=${{ matrix.tiles }} RELEASE=1 LOCALIZE=1 LANGUAGES=all BACKTRACE=0 PCH=0 bindist
mv cataclysmdda-0.E.tar.gz cdda-${{ matrix.artifact }}-b${{ github.run_number }}.tar.gz
- name: Build CDDA (windows)
if: matrix.mxe != 'none'
env:
PLATFORM: /usr/lib/mxe/usr/bin/${{ matrix.mxe }}-w64-mingw32.static-
run: |
@@ -65,9 +126,19 @@ jobs:
commit sha: ${{ github.sha }}
commit url: https://github.com/${{ github.repository }}/commit/${{ github.sha }}
EOL
make -j$((`nproc`+0)) CROSS="${PLATFORM}" TILES=1 SOUND=1 RELEASE=1 LOCALIZE=1 LANGUAGES=all BACKTRACE=0 PCH=0 bindist
mv cataclysmdda-0.E.zip cdda-${{ matrix.artifact }}-b${{ github.run_number }}.zip
- name: Build CDDA (osx)
if: runner.os == 'macOS'
run: |
cat >VERSION.txt <<EOL
build type: ${{ matrix.artifact }}
build number: ${{ github.run_number }}
commit sha: ${{ github.sha }}
commit url: https://github.com/${{ github.repository }}/commit/${{ github.sha }}
EOL
make -j3 TILES=${{ matrix.tiles }} SOUND=${{ matrix.tiles }} RELEASE=1 LOCALIZE=1 LANGUAGES=all BACKTRACE=0 PCH=0 dmgdist
mv Cataclysm.dmg cdda-${{ matrix.artifact }}-b${{ github.run_number }}.dmg
- name: Upload release asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
@@ -75,6 +146,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: cdda-${{ matrix.artifact }}-b${{ github.run_number }}.zip
asset_name: cdda-${{ matrix.artifact }}-b${{ github.run_number }}.zip
asset_content_type: application/zip
asset_path: cdda-${{ matrix.artifact }}-b${{ github.run_number }}.${{ matrix.ext }}
asset_name: cdda-${{ matrix.artifact }}-b${{ github.run_number }}.${{ matrix.ext }}
asset_content_type: ${{ matrix.content }}
+1
View File
@@ -1154,6 +1154,7 @@ ifdef OSXCROSS
dmg dmg Cataclysm-uncompressed.dmg Cataclysm.dmg
rm Cataclysm-uncompressed.dmg
else
plutil -convert binary1 Cataclysm.app/Contents/Info.plist
dmgbuild -s build-data/osx/dmgsettings.py "Cataclysm DDA" Cataclysm.dmg
endif
+1 -1
View File
@@ -82,7 +82,7 @@ icon_locations = {
#
# Other color components may be expressed either in the range 0 to 1, or
# as percentages (e.g. 60% is equivalent to 0.6).
background = 'data/osx/dmgback.png'
background = 'build-data/osx/dmgback.png'
show_status_bar = False
show_tab_view = False
+32 -9
View File
@@ -650,6 +650,8 @@
"id": "melatonin",
"name": [ "Melatonin Supplements" ],
"desc": [ "You took some melatonin supplements. These will help with sleep deprivation." ],
"max_duration": 100800,
"dur_add_perc": 60,
"rating": "good",
"blood_analysis_description": "Melatonin"
},
@@ -751,11 +753,14 @@
"type": "effect_type",
"id": "took_flumed",
"rating": "good",
"blood_analysis_description": "Antihistamines"
"blood_analysis_description": "Antihistamines",
"max_duration": 57600,
"dur_add_perc": 30
},
{
"type": "effect_type",
"id": "took_xanax",
"max_duration": 14400,
"dur_add_perc": 22,
"base_mods": { "stim_tick": [ 150 ], "stim_min": [ -1 ], "stim_min_val": [ -1 ] },
"rating": "good",
@@ -765,13 +770,17 @@
"type": "effect_type",
"id": "took_xanax_visible",
"name": [ "Took fast-acting sedative" ],
"desc": [ "You took a fast-acting sedative some time ago and you might still be under its influence." ]
"desc": [ "You took a fast-acting sedative some time ago and you might still be under its influence." ],
"max_duration": 18000,
"dur_add_perc": 20
},
{
"type": "effect_type",
"id": "took_prozac",
"rating": "good",
"blood_analysis_description": "Antidepressants"
"blood_analysis_description": "Antidepressants",
"max_duration": 64800,
"dur_add_perc": 40
},
{
"type": "effect_type",
@@ -781,7 +790,9 @@
"type": "effect_type",
"id": "took_prozac_visible",
"name": [ "Took antidepressant" ],
"desc": [ "You took an antidepressant some time ago and you might still be under its influence." ]
"desc": [ "You took an antidepressant some time ago and you might still be under its influence." ],
"max_duration": 72000,
"dur_add_perc": 35
},
{
"type": "effect_type",
@@ -794,7 +805,9 @@
"type": "effect_type",
"id": "took_thorazine",
"rating": "good",
"blood_analysis_description": "Antipsychotics"
"blood_analysis_description": "Antipsychotics",
"max_duration": 64800,
"dur_add_perc": 50
},
{
"type": "effect_type",
@@ -804,7 +817,9 @@
"type": "effect_type",
"id": "took_thorazine_visible",
"name": [ "Took antipsychotic" ],
"desc": [ "You took an antipsychotic some time ago and you might still be under its influence." ]
"desc": [ "You took an antipsychotic some time ago and you might still be under its influence." ],
"max_duration": 72000,
"dur_add_perc": 35
},
{
"type": "effect_type",
@@ -1083,6 +1098,8 @@
"type": "effect_type",
"id": "pblue",
"base_mods": { "rad_chance": [ 600 ], "rad_min": [ -1 ] },
"max_duration": 10800,
"dur_add_perc": 35,
"blood_analysis_description": "Prussian Blue",
"rating": "good"
},
@@ -1400,7 +1417,9 @@
"desc": [ "You have been vaccinated for the flu recently." ],
"blocks_effects": [ "flu" ],
"rating": "good",
"blood_analysis_description": "Antivirals"
"blood_analysis_description": "Antivirals",
"max_duration": 14515200,
"dur_add_perc": 50
},
{
"type": "effect_type",
@@ -1695,7 +1714,9 @@
"removes_effects": [ "shakes" ],
"base_mods": { "stim_tick": [ 150 ], "stim_chance": [ 2 ], "stim_min": [ 1 ], "stim_min_val": [ -1 ] },
"rating": "good",
"blood_analysis_description": "Benzodiazepines"
"blood_analysis_description": "Benzodiazepines",
"max_duration": 64800,
"dur_add_perc": 45
},
{
"type": "effect_type",
@@ -1705,7 +1726,9 @@
"You took anticonvulsant drugs some time ago and you might still be under its influence.\nPrescription note says its effect duration may vary, so your estimate may be inaccurate."
],
"rating": "good",
"blood_analysis_description": "Anticonvulsants"
"blood_analysis_description": "Anticonvulsants",
"max_duration": 64800,
"dur_add_perc": 40
},
{
"type": "effect_type",
+1 -1
View File
@@ -396,7 +396,7 @@
{
"id": "bowl_plastic",
"type": "GENERIC",
"category": "other",
"category": "container",
"name": { "str": "plastic tupperware" },
"symbol": "u",
"description": "A piece of plastic tupperware with a tupperware lid. Holds 750 ml of liquid.",
+4 -4
View File
@@ -11,7 +11,7 @@
"//": "It's little more than a piece of slightly shaped leather",
"material": [ "leather" ],
"flags": [ "RELOAD_AND_SHOOT", "NEVER_JAMS", "PRIMITIVE_RANGED_WEAPON", "BELT_CLIP", "WATERPROOF_GUN", "NEVER_JAMS" ],
"ammo_effects": [ "NEVER_MISFIRES" ],
"ammo_effects": [ "NEVER_MISFIRES", "NO_PENETRATE_OBSTACLES" ],
"skill": "throw",
"ammo": [ "rock" ],
"weight": "96 g",
@@ -44,7 +44,7 @@
"WATERPROOF_GUN",
"NEVER_JAMS"
],
"ammo_effects": [ "NEVER_MISFIRES" ],
"ammo_effects": [ "NEVER_MISFIRES", "NO_PENETRATE_OBSTACLES" ],
"skill": "archery",
"ammo": [ "pebble" ],
"weight": "254 g",
@@ -82,7 +82,7 @@
"WATERPROOF_GUN",
"NEVER_JAMS"
],
"ammo_effects": [ "NEVER_MISFIRES" ],
"ammo_effects": [ "NEVER_MISFIRES", "NO_PENETRATE_OBSTACLES" ],
"techniques": [ "WBLOCK_2", "RAPID", "SWEEP" ],
"skill": "throw",
"ammo": [ "rock" ],
@@ -118,7 +118,7 @@
"WATERPROOF_GUN",
"NEVER_JAMS"
],
"ammo_effects": [ "NEVER_MISFIRES" ],
"ammo_effects": [ "NEVER_MISFIRES", "NO_PENETRATE_OBSTACLES" ],
"skill": "archery",
"ammo": [ "pebble" ],
"weight": "322 g",
+1 -1
View File
@@ -666,7 +666,7 @@
"volume": "15 ml",
"price": 0,
"price_postapoc": 10,
"material": [ "plastic" ],
"material": [ "charcoal" ],
"symbol": ",",
"color": "dark_gray",
"initial_charges": 100,
@@ -73,7 +73,7 @@
"description": "Fake gun that fires acid globs.",
"flags": [ "NEVER_JAMS" ],
"modes": [ [ "DEFAULT", "auto", 3 ] ],
"ammo_effects": [ "BLINDS_EYES", "NEVER_MISFIRES", "NO_DAMAGE_SCALING" ],
"ammo_effects": [ "BLINDS_EYES", "NO_PENETRATE_OBSTACLES", "NEVER_MISFIRES", "NO_DAMAGE_SCALING" ],
"skill": "rifle",
"durability": 10,
"range": 100,
@@ -87,7 +87,7 @@
"name": { "str": "acid dart gun" },
"description": "Fake gun that fires acid globs.",
"flags": [ "NEVER_JAMS" ],
"ammo_effects": [ "BLINDS_EYES", "NEVER_MISFIRES", "NO_DAMAGE_SCALING" ],
"ammo_effects": [ "BLINDS_EYES", "NO_PENETRATE_OBSTACLES", "NEVER_MISFIRES", "NO_DAMAGE_SCALING" ],
"skill": "rifle",
"durability": 10,
"range": 100,
+2 -2
View File
@@ -82,7 +82,7 @@
"volume": "46 L",
"weight": "60 kg",
"hp": 70,
"relative": { "melee_dice": -1, "melee_dice_sides": 2, "melee_cut": 6 },
"relative": { "melee_dice": 1, "melee_dice_sides": 2, "melee_cut": 6 },
"armor_cut": 30,
"armor_bullet": 24,
"armor_bash": 12,
@@ -271,7 +271,7 @@
{
"id": "mon_zoose_thorny",
"type": "MONSTER",
"name": { "str": "thorny bear shambler" },
"name": { "str": "thorny moose shambler" },
"copy-from": "mon_zoose",
"description": "What once was a great moose is now covered with long, matted hair twisted with thorny vines that wrap together and then twist back into the body. Long interlocking thorns wrap the antlers, dripping with a mysterious silvery liquid.",
"species": [ "ZOMBIE", "PLANT" ],
+1
View File
@@ -245,6 +245,7 @@
{
"type": "GENERIC",
"id": "trident",
"looks_like": "pitchfork",
"name": { "str": "trident" },
"category": "tools",
"description": "A three pronged spear that is surface treated to be used confidently above and below water.",
@@ -15,8 +15,6 @@
"vehicles": [
[ "afs_sports_bike", 300 ],
[ "afs_electric_semi", 300 ],
[ "afs_gas_tanker", 300 ],
[ "afs_water_tanker", 250 ],
[ "car_atomic", 1000 ],
[ "car_sports_atomic", 100 ],
[ "suv_atomic", 1000 ],
@@ -47,7 +45,7 @@
{
"id": "highway",
"type": "vehicle_group",
"vehicles": [ [ "afs_electric_semi", 300 ], [ "afs_gas_tanker", 250 ], [ "afs_water_tanker", 200 ] ]
"vehicles": [ [ "afs_electric_semi", 300 ] ]
},
{
"id": "afs_lab_cars",
@@ -23,6 +23,14 @@
"rot_spawn_chance": 80,
"//": "Alchemically speaking, I see this egg as having the elements of Growth, Stone, and Egg. Growth would make things grow faster, the simplest example being a magical liquid fertilizer. Stone would be a defensive element, used in creating something like a potion of stoneskin. Egg would be interesting though. What if instead of being imbibed there were potions that instead functioned similarly to the sourdough items, or the blob vehicle parts, in that they take a gestation period and then you could activate them and have a new item pop out. Creatures sure but especially biomancers could have temporarily-lived tools, weapons, and armor."
},
{
"type": "COMESTIBLE",
"id": "magic_whiskey",
"name": { "str_sp": "whiskey" },
"copy-from": "whiskey",
"price": 0,
"price_postapoc": 0
},
{
"type": "COMESTIBLE",
"id": "egg_owlbear",
@@ -116,15 +116,12 @@
"category": "clothing",
"relic_data": { "charge_info": { "recharge_type": "periodic", "time": "24 h", "regenerate_ammo": true } },
"use_action": {
"target": "whiskey",
"target": "magic_whiskey",
"msg": "You open the flask and discover it full of sweet, sweet, whiskey!",
"container": "mflask_hip_whiskey",
"target_charges": 7,
"moves": 50,
"type": "delayed_transform",
"transform_age": 14400,
"not_ready_msg": "The flask isn't done refilling yet.",
"//": "24 hours"
"type": "transform"
}
},
{
+39
View File
@@ -8578,5 +8578,44 @@
{ "offset": 3840, "bold": true, "color": "YELLOW" }
]
}
],
"overlay_ordering": [
{ "id": "THRESH_MARLOSS", "order": 400 },
{ "id": [ "bio_armor_legs", "bio_armor_torso", "bio_armor_arms" ], "order": 500 },
{ "id": "bio_armor_head", "order": 505 },
{ "id": "bio_blaster", "order": 510 },
{ "id": "bio_deformity", "order": 515 },
{ "id": [ "active_bio_blindfold", "active_bio_scent_vision" ], "order": 520 },
{ "id": "active_bio_night_vision", "order": 521 },
{ "id": "active_bio_infrared", "order": 522 },
{
"id": [
"THRESH_ALPHA",
"THRESH_CHIMERA",
"THRESH_BEAST",
"THRESH_URSINE",
"THRESH_FELINE",
"THRESH_LUPINE",
"THRESH_CATTLE",
"THRESH_RAT",
"THRESH_MOUSE",
"THRESH_TROGLOBITE",
"THRESH_BIRD",
"THRESH_RAPTOR",
"THRESH_LIZARD",
"THRESH_FISH",
"THRESH_CEPHALOPOD",
"THRESH_SPIDER",
"THRESH_INSECT",
"THRESH_PLANT",
"THRESH_MYCUS",
"THRESH_SLIME"
],
"order": 5000
},
{ "id": [ "BENDY1", "BENDY2", "BENDY3" ], "order": 5100 },
{ "id": [ "AMORPHOUS", "INT_UP_4", "FLOWERS", "ROSEBUDS" ], "order": 5200 },
{ "id": [ "PER_SLIME", "THRESH_ELFA" ], "order": 5300 },
{ "id": "PER_SLIME_OK", "order": 5400 }
]
}
+3 -3
View File
@@ -157,9 +157,9 @@ class Tileset:
with open(info_path, 'r') as file:
self.info = json.load(file)
self.sprite_width = self.info[0].get('width')
self.sprite_height = self.info[0].get('height')
self.pixelscale = self.info[0].get('pixelscale')
self.sprite_width = self.info[0].get('width', self.sprite_width)
self.sprite_height = self.info[0].get('height', self.sprite_height)
self.pixelscale = self.info[0].get('pixelscale', self.pixelscale)
# TODO: self.errors
self.error_logged = False