Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow up #50

Merged
merged 54 commits into from
Feb 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
e25ef72
Tweak mapgen for animal pound
arijust Feb 15, 2020
941e9de
Raised chances for monster spawns.
arijust Feb 17, 2020
1b7b073
Tweak mapgen.
arijust Feb 18, 2020
1c58018
Tweaks.
arijust Feb 18, 2020
6b3aa63
Further tweaks.
arijust Feb 18, 2020
fb8a107
Final tweaks.
arijust Feb 18, 2020
0e609a4
Move activity_id and itype_id definition
ZhilkinSerg Feb 18, 2020
cbac63b
Removed redundant empty lines
ZhilkinSerg Feb 18, 2020
c652b96
Removed redundant empty statements
ZhilkinSerg Feb 18, 2020
40e2c32
Removed non-implemented functions
ZhilkinSerg Feb 18, 2020
e9ad1c3
Removed unused declarator
ZhilkinSerg Feb 18, 2020
801dcd7
Combined var declaration and assignment
ZhilkinSerg Feb 18, 2020
53cc3ba
Reverse position of parking.
arijust Feb 18, 2020
5d4be2c
Apply suggestions from code review
ZhilkinSerg Feb 19, 2020
c2ba6db
Move string consts
Ramza13 Feb 19, 2020
142295b
Merge pull request #38141 from ZhilkinSerg/sa-2020-02-18
kevingranade Feb 20, 2020
b1865fe
Put BrownLikeBears in the repo (#38136)
Fris0uman Feb 20, 2020
aeaff85
Create lore.md
KorGgenT Feb 20, 2020
24a32c0
Update type of 22_casing_new (#38172)
Kilvoctu Feb 20, 2020
2bf1c1e
Merge pull request #38168 from Ramza13/even_more_string_consts
ZhilkinSerg Feb 20, 2020
bac0389
Auto-travel; prompt when overburdened, and allow stamina-resting (#38…
Feb 20, 2020
ad087d4
Don't penalize strong characters for dragging
wapcaplet Feb 20, 2020
e6cb983
Move string consts/rename string consts
Ramza13 Feb 20, 2020
256c539
Merge pull request #38177 from wapcaplet/drag-while-strong
ZhilkinSerg Feb 20, 2020
07995cd
Move more string consts into single file (#38169)
Ramza13 Feb 20, 2020
9c9835f
Merge pull request #38176 from Ramza13/string_consts_and_more
ZhilkinSerg Feb 20, 2020
571efb2
Move more string consts into single file (#38175)
Ramza13 Feb 20, 2020
f5babd6
Merge pull request #38174 from KorGgenT/magic-lore-text
Rivet-the-Zombie Feb 20, 2020
f3fbeb8
Prevent monsters from leaping to their death in water (#38150)
jkraybill Feb 20, 2020
55cabb7
Move string consts into single file (#38181)
Ramza13 Feb 20, 2020
fc61e64
Magazine name to object
snipercup Feb 20, 2020
6169bce
Added "Trap Back button" option to Android prelaunch menu
ZhilkinSerg Feb 20, 2020
b4fcb44
Updated Android build process
ZhilkinSerg Feb 20, 2020
4851348
Merge pull request #38187 from CleverRaven/android-2020-02-21
ZhilkinSerg Feb 20, 2020
b8cd4c0
Merge pull request #36870 from ZhilkinSerg/android-2019-12-29
ZhilkinSerg Feb 20, 2020
123f1b6
Merge pull request #38186 from snipercup/Magazine-name-to-object-2
ZhilkinSerg Feb 20, 2020
19c5698
Move string consts into single file (#38184)
Ramza13 Feb 20, 2020
05940bf
More string consts into single file (#38183)
Ramza13 Feb 20, 2020
0142e23
Add missing row.
arijust Feb 20, 2020
f304837
Bionic name to object
snipercup Feb 20, 2020
34ac021
Magazine name to object
snipercup Feb 20, 2020
471a2d3
Alphabetize the debug skill wishlist
wapcaplet Feb 21, 2020
d73a8b9
Merge pull request #38191 from snipercup/Magazine-name-to-object
ZhilkinSerg Feb 21, 2020
feb8e6b
Merge pull request #38188 from snipercup/Bionic-name-to-object
ZhilkinSerg Feb 21, 2020
eda55f9
Merge pull request #38194 from wapcaplet/debug-sort-skills
ZhilkinSerg Feb 21, 2020
4fffd96
More string consts into single file (#38189)
Ramza13 Feb 21, 2020
b1b48ba
Move string consts into single file (#38195)
Ramza13 Feb 21, 2020
7cc215e
Merge pull request #38046 from arijust/animal_pound
Rivet-the-Zombie Feb 21, 2020
bec1cba
Update explosives to use corrrect explosive power, casing mass, and f…
Brian-Otten Feb 21, 2020
e1fdec2
Added ups_charges_modifier handling for gunmods (#37766)
eilaattwood Feb 21, 2020
50653f7
Allow delete and extend qualities in item definitions (#37804)
ZhilkinSerg Feb 21, 2020
955132f
Handle FILTHY tag when unloading/reloading items (#37927)
ZhilkinSerg Feb 21, 2020
7206b26
Remove unused variable (#38197)
ZhilkinSerg Feb 21, 2020
fef327b
house palette tweak (#38119)
LilShiningMan Feb 21, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 63 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,83 @@ if (keystorePropertiesFile.exists()) {
}

def njobs = getProperty("j")
if (localProperties.getProperty('j') != null) {
njobs = localProperties.getProperty("j")
}

def localize = getProperty("localize").toBoolean()
if (localProperties.getProperty('localize') != null) {
localize = localProperties.getProperty("localize").toBoolean()
}

def abi_arm_32 = getProperty("abi_arm_32").toBoolean()
if (localProperties.getProperty('abi_arm_32') != null) {
abi_arm_32 = localProperties.getProperty("abi_arm_32").toBoolean()
}

def abi_arm_64 = getProperty("abi_arm_64").toBoolean()
if (localProperties.getProperty('abi_arm_64') != null) {
abi_arm_64 = localProperties.getProperty("abi_arm_64").toBoolean()
}

def abi_x86_32 = getProperty("abi_x86_32").toBoolean()
if (localProperties.getProperty('abi_x86_32') != null) {
abi_x86_32 = localProperties.getProperty("abi_x86_32").toBoolean()
}

def abi_x86_64 = getProperty("abi_x86_64").toBoolean()
if (localProperties.getProperty('abi_x86_64') != null) {
abi_x86_64 = localProperties.getProperty("abi_x86_64").toBoolean()
}

def deps = getProperty("deps")
if (localProperties.getProperty('deps') != null) {
deps = localProperties.getProperty("deps")
}

def override_version = getProperty("override_version")
if (localProperties.getProperty('override_version') != null) {
override_version = localProperties.getProperty("override_version")
}

def version_header_path = getProperty("version_header_path")
if (localProperties.getProperty('version_header_path') != null) {
version_header_path = localProperties.getProperty("version_header_path")
}

def override_compileSdkVersion = getProperty("override_compileSdkVersion").toInteger()
if (localProperties.getProperty('override_compileSdkVersion') != null) {
override_compileSdkVersion = localProperties.getProperty("override_compileSdkVersion").toInteger()
}

def override_minSdkVersion = getProperty("override_minSdkVersion").toInteger()
if (localProperties.getProperty('override_minSdkVersion') != null) {
override_minSdkVersion = localProperties.getProperty("override_minSdkVersion").toInteger()
}

def override_targetSdkVersion = getProperty("override_targetSdkVersion").toInteger()
if (localProperties.getProperty('override_targetSdkVersion') != null) {
override_targetSdkVersion = localProperties.getProperty("override_targetSdkVersion").toInteger()
}

def override_ndkBuildAppPlatform = getProperty("override_ndkBuildAppPlatform")
if (localProperties.getProperty('override_ndkBuildAppPlatform') != null) {
override_ndkBuildAppPlatform = localProperties.getProperty("override_ndkBuildAppPlatform")
}

println("Using compileSdkVersion: $override_compileSdkVersion")
println("Using minSdkVersion: $override_minSdkVersion")
println("Using targetSdkVersion: $override_targetSdkVersion")
println("Using ndkBuildAppPlatform: $override_ndkBuildAppPlatform")
println("Using [ njobs]: $njobs")
println("Using [ localize]: $localize")
println("Using [ deps]: $deps")
println("Using [ override_version]: $override_version")
println("Using [version_header_path]: $version_header_path")
println("Using [ compileSdkVersion]: $override_compileSdkVersion")
println("Using [ minSdkVersion]: $override_minSdkVersion")
println("Using [ targetSdkVersion]: $override_targetSdkVersion")
println("Using [ndkBuildAppPlatform]: $override_ndkBuildAppPlatform")
println("Using [ abi_arm_32]: $abi_arm_32")
println("Using [ abi_arm_64]: $abi_arm_64")
println("Using [ abi_x86_32]: $abi_x86_32")
println("Using [ abi_x86_64]: $abi_x86_64")

if (!abi_arm_32 && !abi_arm_64 && !abi_x86_32 && !abi_x86_64) {
throw new GradleException("All supported ABI properties are set to false!")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public class SplashScreen extends Activity {
private static final int INSTALL_DIALOG_ID = 0;
private ProgressDialog installDialog;

public CharSequence[] mSettingsNames = { "Software rendering", "Force fullscreen" };
public boolean[] mSettingsValues = { false, false};
public CharSequence[] mSettingsNames = { "Software rendering", "Force fullscreen", "Trap Back button" };
public boolean[] mSettingsValues = { false, false, true };

private String getVersionName() {
try {
Expand Down
38 changes: 19 additions & 19 deletions data/json/bionics.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
{
"id": "bio_adrenaline",
"type": "bionic",
"name": "Adrenaline Pump",
"name": { "str": "Adrenaline Pump" },
"description": "A stimulator system has been surgically implanted alongside your adrenal glands, allowing you to trigger your body's adrenaline response at the cost of some bionic power.",
"occupied_bodyparts": [ [ "TORSO", 6 ] ],
"act_cost": "5 J"
},
{
"id": "bio_ads",
"type": "bionic",
"name": "Active Defense System",
"name": { "str": "Active Defense System" },
"description": "A thin forcefield surrounds your body, continually draining power. Anything attempting to penetrate this field has a chance of being deflected at the cost of energy, reducing their ability to deal damage. Bullets will be deflected more than melee weapons and those in turn more than massive objects.",
"occupied_bodyparts": [ [ "TORSO", 10 ], [ "HEAD", 1 ], [ "ARM_L", 1 ], [ "ARM_R", 1 ], [ "LEG_L", 2 ], [ "LEG_R", 2 ] ],
"flags": [ "BIONIC_TOGGLED", "BIONIC_NPC_USABLE" ],
Expand All @@ -21,7 +21,7 @@
{
"id": "bio_alarm",
"type": "bionic",
"name": "Alarm System",
"name": { "str": "Alarm System" },
"description": "A motion-detecting alarm system will notice almost all movement within a fifteen-foot radius, and will silently alert you. This is very useful during sleep, or if you suspect a cloaked pursuer.",
"occupied_bodyparts": [ [ "TORSO", 2 ], [ "HEAD", 1 ] ],
"flags": [ "BIONIC_TOGGLED", "BIONIC_SLEEP_FRIENDLY" ],
Expand All @@ -40,7 +40,7 @@
{
"id": "bio_armor_arms",
"type": "bionic",
"name": "Alloy Plating - Arms",
"name": { "str": "Alloy Plating - Arms" },
"description": "The flesh on your arms has been surgically replaced by alloy plating. Provides passive protection and can be used in conjunction with bionic martial arts.",
"occupied_bodyparts": [ [ "ARM_L", 4 ], [ "ARM_R", 4 ] ],
"bash_protec": [ [ "ARM_L", 3 ], [ "ARM_R", 3 ] ],
Expand All @@ -61,7 +61,7 @@
{
"id": "bio_armor_head",
"type": "bionic",
"name": "Alloy Plating - Head",
"name": { "str": "Alloy Plating - Head" },
"description": "The flesh on your head has been surgically replaced by alloy plating, protecting both your head and jaw regions.",
"occupied_bodyparts": [ [ "HEAD", 5 ], [ "MOUTH", 1 ] ],
"bash_protec": [ [ "HEAD", 3 ] ],
Expand All @@ -71,7 +71,7 @@
{
"id": "bio_armor_legs",
"type": "bionic",
"name": "Alloy Plating - Legs",
"name": { "str": "Alloy Plating - Legs" },
"description": "The flesh on your legs has been surgically replaced by alloy plating. Provides passive protection and can be used in conjunction with bionic martial arts.",
"occupied_bodyparts": [ [ "LEG_L", 6 ], [ "LEG_R", 6 ] ],
"bash_protec": [ [ "LEG_L", 3 ], [ "LEG_R", 3 ] ],
Expand All @@ -81,7 +81,7 @@
{
"id": "bio_armor_torso",
"type": "bionic",
"name": "Alloy Plating - Torso",
"name": { "str": "Alloy Plating - Torso" },
"description": "The flesh on your torso has been surgically replaced by alloy plating, protecting it from physical trauma.",
"occupied_bodyparts": [ [ "TORSO", 10 ] ],
"bash_protec": [ [ "TORSO", 3 ] ],
Expand All @@ -91,7 +91,7 @@
{
"id": "bio_batteries",
"type": "bionic",
"name": "Battery System",
"name": { "str": "Battery System" },
"description": "You have a battery draining attachment, and thus can make use of the energy contained in normal, everyday batteries. Use 'E' to drain charge from a battery. Can be toggled on and off at will.",
"occupied_bodyparts": [ [ "TORSO", 25 ] ],
"fuel_options": [ "battery" ],
Expand Down Expand Up @@ -212,7 +212,7 @@
{
"id": "bio_claws",
"type": "bionic",
"name": "Bionic Claws",
"name": { "str": "Bionic Claws" },
"description": "Vicious claws have been surgically installed inside your fingers, allowing you to extend and retract them at the cost of a small amount of power. These do considerable cutting damage, but prevent you from holding anything else while extended.",
"occupied_bodyparts": [ [ "HAND_L", 5 ], [ "HAND_R", 5 ] ],
"act_cost": "25 J",
Expand Down Expand Up @@ -277,7 +277,7 @@
{
"id": "bio_deformity",
"type": "bionic",
"name": "Bionic-Induced Deformity",
"name": { "str": "Bionic-Induced Deformity" },
"description": "A combination of poor surgical installation and unpleasant scarring has lead to the malfunctioning bionic catastrophe you call your face. People who mind that you look like a dime-store Frankenstein will react poorly to your appearance.",
"occupied_bodyparts": [ [ "HEAD", 4 ], [ "MOUTH", 1 ] ],
"flags": [ "BIONIC_FAULTY" ]
Expand All @@ -302,7 +302,7 @@
{
"id": "bio_dis_acid",
"type": "bionic",
"name": "Acidic Discharge",
"name": { "str": "Acidic Discharge" },
"description": "A malfunctioning bionic which occasionally discharges acid into your muscles, causing sharp pain and minor damage.",
"occupied_bodyparts": [ [ "TORSO", 3 ], [ "ARM_L", 1 ], [ "ARM_R", 1 ], [ "LEG_L", 2 ], [ "LEG_R", 2 ] ],
"flags": [ "BIONIC_FAULTY" ]
Expand Down Expand Up @@ -374,7 +374,7 @@
{
"id": "bio_evap",
"type": "bionic",
"name": "Aero-Evaporator",
"name": { "str": "Aero-Evaporator" },
"description": "This unit draws moisture from the surrounding air, which slowly trickles directly into your blood stream. It may fail in very dry environments.",
"occupied_bodyparts": [ [ "TORSO", 5 ] ],
"react_cost": "60 J",
Expand Down Expand Up @@ -705,7 +705,7 @@
{
"id": "bio_night",
"type": "bionic",
"name": "Artificial Night Generator",
"name": { "str": "Artificial Night Generator" },
"description": "When active, this bionic eliminates all light within a 2 tile radius through destructive interference.",
"occupied_bodyparts": [ [ "TORSO", 16 ] ],
"flags": [ "BIONIC_TOGGLED" ],
Expand Down Expand Up @@ -735,7 +735,7 @@
{
"id": "bio_nostril",
"type": "bionic",
"name": "Bionic Nostril",
"name": { "str": "Bionic Nostril" },
"description": "You're really not sure how the CBM ended up in your nose, but no matter how it got there this badly misplaced bionic makes it difficult to breathe. Increases mouth encumbrance by ten.",
"occupied_bodyparts": [ [ "HEAD", 2 ], [ "MOUTH", 1 ] ],
"encumbrance": [ [ "MOUTH", 10 ] ],
Expand Down Expand Up @@ -763,7 +763,7 @@
{
"id": "bio_pokedeye",
"type": "bionic",
"name": "Bionic Visual Impairment",
"name": { "str": "Bionic Visual Impairment" },
"description": "Due to a badly misplaced dielectric stylette, you are now suffering from mild optic neuropathy. Increases eye encumbrance by ten.",
"occupied_bodyparts": [ [ "EYES", 1 ] ],
"encumbrance": [ [ "EYES", 10 ] ],
Expand Down Expand Up @@ -827,7 +827,7 @@
{
"id": "bio_purifier",
"type": "bionic",
"name": "Air Filtration System",
"name": { "str": "Air Filtration System" },
"description": "Surgically implanted in your trachea is an advanced filtration system. If toxins, or airborne diseases find their way into your windpipe, the filter will attempt to remove them.",
"occupied_bodyparts": [ [ "TORSO", 4 ], [ "MOUTH", 2 ] ],
"env_protec": [ [ "MOUTH", 7 ] ],
Expand Down Expand Up @@ -913,7 +913,7 @@
{
"id": "bio_shakes",
"type": "bionic",
"name": "Bionic Short Circuit",
"name": { "str": "Bionic Short Circuit" },
"description": "A poorly-wired bionic which fails to serve its intended purpose, this malfunctioning device periodically short-circuits, causing systemic muscle tremors.",
"occupied_bodyparts": [ [ "TORSO", 1 ], [ "ARM_L", 2 ], [ "ARM_R", 2 ], [ "LEG_L", 3 ], [ "LEG_R", 3 ] ],
"flags": [ "BIONIC_FAULTY" ]
Expand Down Expand Up @@ -1008,15 +1008,15 @@
{
"id": "bio_surgical_razor",
"type": "bionic",
"name": "Autonomous Surgical Scalpels",
"name": { "str": "Autonomous Surgical Scalpels" },
"description": "A system of surgical grade scalpels is implanted on your fingers. They allow you to make automated precise cuts and can also be used as a high-quality butchering tool.",
"occupied_bodyparts": [ [ "ARM_R", 1 ], [ "ARM_L", 1 ] ],
"fake_item": "bio_scalpel"
},
{
"id": "bio_sunglasses",
"type": "bionic",
"name": "Anti-Glare Compensators",
"name": { "str": "Anti-Glare Compensators" },
"description": "Your eyes have quick-reacting transition lenses surgically installed over them. They negate glare penalties, partially protect you from bright flashes, and protect your eyes when welding.",
"occupied_bodyparts": [ [ "EYES", 1 ] ],
"included_bionics": [ "bio_blindfold" ],
Expand Down
16 changes: 0 additions & 16 deletions data/json/items/ammo.json
Original file line number Diff line number Diff line change
Expand Up @@ -476,22 +476,6 @@
"explosion_data": { "chance_hot": 2, "chance_cold": 2, "factor": 1, "fiery": true, "size_factor": 0.15 }
}
},
{
"type": "AMMO",
"id": "22_casing_new",
"category": "spare_parts",
"price": 100,
"name": { "str": "unused .22 casing" },
"symbol": "=",
"color": "yellow",
"description": "An unfired, like-new .22 round casing, with the primer still intact.",
"material": [ "powder", "brass" ],
"volume": "250 ml",
"weight": "1 g",
"ammo_type": "components",
"count": 200,
"effects": [ "COOKOFF" ]
},
{
"type": "AMMO",
"id": "gunpowder",
Expand Down
13 changes: 13 additions & 0 deletions data/json/items/generic/casing.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,19 @@
"weight": "2 g",
"volume": "3ml"
},
{
"id": "22_casing_new",
"type": "GENERIC",
"category": "spare_parts",
"price": 100,
"name": { "str": "unused .22 casing" },
"symbol": "=",
"color": "yellow",
"description": "An unfired, like-new .22 round casing, with the primer still intact.",
"material": [ "powder", "brass" ],
"volume": "250 ml",
"weight": "1 g"
},
{
"id": "3006_casing",
"copy-from": "casing",
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/magazine/12mm.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "hk_g80mag",
"looks_like": "stanag30",
"type": "MAGAZINE",
"name": "H&K G80 magazine",
"name": { "str": "H&K G80 magazine" },
"description": "A magazine for H&K G80 railgun which can hold up to 20 ferromagnetic projectiles.",
"weight": "168 g",
"volume": "250 ml",
Expand Down
6 changes: 3 additions & 3 deletions data/json/items/magazine/3006.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"id": "blrmag",
"looks_like": "stanag30",
"type": "MAGAZINE",
"name": "Browning BLR magazine",
"name": { "str": "Browning BLR magazine" },
"description": "A compact 4-round box magazine for the Browning BLR.",
"weight": "40 g",
"volume": "250 ml",
Expand Down Expand Up @@ -55,7 +55,7 @@
"id": "m1918bigmag",
"looks_like": "stanag30",
"type": "MAGAZINE",
"name": "BAR extended magazine",
"name": { "str": "BAR extended magazine" },
"description": "An aftermarket magazine for use with the Browning Automatic Rifle, holds 30 rounds.",
"weight": "300 g",
"volume": "750 ml",
Expand All @@ -73,7 +73,7 @@
"id": "m1918mag",
"looks_like": "stanag30",
"type": "MAGAZINE",
"name": "BAR magazine",
"name": { "str": "BAR magazine" },
"//": "Compatable magazines made for reproductions exist, and the standard-capacity mags are fairly cheap compared to variants.",
"description": "A standard capacity magazine for use with the Browning Automatic Rifle, holds 20 rounds.",
"weight": "200 g",
Expand Down
Loading