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

Combat expanded split #1025

Draft
wants to merge 79 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
7c769b9
Update version numbers and pack format
misode Jun 14, 2024
cbf4207
Rename legacy folders
misode Jun 14, 2024
50e2e5c
Update beet and mecha
misode Jun 14, 2024
a73399b
Update attribute commands
misode Jun 14, 2024
6d6fa5b
Update packtest to v1.8-beta3
misode Jun 14, 2024
806fb8d
Fix attribute modifiers in JSON
misode Jun 14, 2024
719624c
Update to gm4_combat_expanded:dynamic
misode Jun 14, 2024
295b9bf
Update attribute NBT in commands
misode Jun 14, 2024
21aeecf
Move tests to singular name folder
misode Jun 14, 2024
c00c235
Fix template directives pointing to singular folder name
misode Jun 15, 2024
e4e8643
Gamemode predicate is a list now
misode Jun 15, 2024
c6cdc9f
Update looting_enchant -> enchanted_count_increase
misode Jun 15, 2024
d13ab89
Fix enchant_randomly enchantments -> options
misode Jun 15, 2024
c679d2c
Fix random_chance_with_looting
misode Jun 15, 2024
189499e
Update enchant_with_levels
misode Jun 15, 2024
e7d1d67
Fix enchantment predicates
misode Jun 15, 2024
044680d
campfire damage type was split from in_fire
misode Jun 15, 2024
c182763
Use new #air block tag
misode Jun 15, 2024
93c01f8
Remove some trailing spaces
misode Jun 23, 2024
e818141
fix attribute names (#1005)
TheThanathor Jun 25, 2024
6774f23
add armor change test
TheThanathor Jun 25, 2024
b5e9e05
rework armor
TheThanathor Jun 28, 2024
6ba2838
add armor toughness to armor rework
TheThanathor Jul 2, 2024
cb0c69e
improve damage detection
TheThanathor Jul 8, 2024
e8c88ec
split module in twain
TheThanathor Jul 8, 2024
bd8b347
add elite enemies
TheThanathor Jul 10, 2024
d07b115
small updates
TheThanathor Jul 15, 2024
2dcf198
rename elites
TheThanathor Jul 22, 2024
1340c92
add splitting elite and finish vorpal
TheThanathor Jul 23, 2024
5acc63d
Merge remote-tracking branch 'upstream/master' into combat_expanded_s…
TheThanathor Jul 26, 2024
3b5d833
fix elite
TheThanathor Jul 26, 2024
e2ab443
small fixes
TheThanathor Jul 27, 2024
f22088e
rename to combat expanded armor
TheThanathor Jul 28, 2024
9708f26
fix more stuff
TheThanathor Jul 29, 2024
b7bb21d
complete module split
TheThanathor Aug 6, 2024
5fa12e7
fix armor modifiers not stacking
TheThanathor Aug 8, 2024
9d2fcb0
add damage detection and fix some leftover scores
TheThanathor Aug 9, 2024
49f1ab9
add more augment framework
TheThanathor Aug 11, 2024
dd5d7b2
add totemic loot table
TheThanathor Aug 12, 2024
bb10fed
balance update for mob stats
TheThanathor Aug 23, 2024
a3f168b
Merge remote-tracking branch 'upstream/master' into combat_expanded_s…
TheThanathor Aug 23, 2024
1a85ade
start reworking mob biome modifiers
TheThanathor Aug 25, 2024
884666a
wow that's a lot of changes
TheThanathor Sep 2, 2024
85bebaf
remove boss for now
TheThanathor Sep 2, 2024
180c68f
add depth to mob difficulty
TheThanathor Sep 2, 2024
740a650
fix netherite updating armor
TheThanathor Sep 2, 2024
2b56ea4
update augmented armor to work with new system
TheThanathor Sep 4, 2024
04225a8
fix up a few armor augments for testing
TheThanathor Sep 9, 2024
ade44e5
reduce effect of cave spider poison
TheThanathor Sep 10, 2024
589ad4a
fix augment ids
TheThanathor Sep 15, 2024
329b79b
add more augments
TheThanathor Sep 22, 2024
48afa62
add armor durability damage
TheThanathor Sep 22, 2024
2a9f0eb
Merge remote-tracking branch 'upstream/master' into combat_expanded_s…
TheThanathor Sep 22, 2024
95557f3
use new base entity tags
TheThanathor Sep 22, 2024
744b79f
more work on augments
TheThanathor Sep 23, 2024
179519c
ensure temp storage data gets properly cleared
TheThanathor Sep 25, 2024
e8e5520
more augments
TheThanathor Sep 27, 2024
12399d6
make multiplicative percentages additive where applicable
TheThanathor Sep 27, 2024
6600dc4
update canine augment
TheThanathor Sep 27, 2024
7f01851
add arrow augments
TheThanathor Sep 28, 2024
a7fb11e
add more augments
TheThanathor Sep 30, 2024
598b3fc
add shield parry
TheThanathor Oct 1, 2024
17dc973
add more augments
TheThanathor Oct 6, 2024
263db33
improve regen and armor recharge
TheThanathor Oct 9, 2024
dac6807
add pearlescent glasses
TheThanathor Oct 12, 2024
32b15a5
clean up the player folder
TheThanathor Oct 14, 2024
4cf8a37
add elite and spore textures
TheThanathor Oct 15, 2024
e39973c
add more augments, fix some small bugs
TheThanathor Oct 19, 2024
0477fd6
improve health and armor damage accuracy
TheThanathor Oct 20, 2024
d5430e7
add dripstone traps
TheThanathor Oct 21, 2024
931a164
remove old stuff to fix log errors
TheThanathor Nov 6, 2024
3a54122
add heartplate augment
TheThanathor Nov 6, 2024
74e1aeb
Merge remote-tracking branch 'upstream/master' into combat_expanded_s…
TheThanathor Nov 6, 2024
cd55e7d
1.21.3 compat
TheThanathor Nov 7, 2024
d65bd5a
Merge remote-tracking branch 'upstream/master' into combat_expanded_s…
TheThanathor Dec 2, 2024
ae25ee0
small balance changes
TheThanathor Dec 3, 2024
ca48e88
small balance changes (Monsters Unbound)
TheThanathor Dec 3, 2024
8518043
balance changes for Elites
TheThanathor Dec 4, 2024
43ec4d1
fix infinite loop
TheThanathor Dec 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ jobs:
BEET_MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
BEET_SMITHED_TOKEN: ${{ secrets.SMITHED_TOKEN }}
LOG_LEVEL: ${{ runner.debug == 1 && 'DEBUG' || 'INFO'}}
MASTER_BUILD: true

- name: Build all modules for pull request
if: github.event_name == 'pull_request'
Expand Down
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"datapack.env.cmdVersion": "1.20.3",
"datapack.env.dataVersion": "1.20.3",
"datapack.lint.stringQuote": ["hint", true],
"datapack.lint.nbtStringQuoteType": ["hint", "prefer double"],
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true
}
30 changes: 1 addition & 29 deletions base/assets/minecraft/atlases/blocks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,6 @@
"type": "directory",
"source": "entity",
"prefix": "entity/"
},
{
"type": "filter",
"pattern":{
"namespace": "^((?!gm4).)*$",
"path": "gui"
}
},
{
"type": "filter",
"pattern": {
"namespace": "gm4_*",
"path": "gui/container"
}
},
{
"type": "filter",
"pattern": {
"namespace": "minecraft",
"path": "entity/fishing_hook"
}
},
{
"type": "filter",
"pattern": {
"namespace": "gm4_guidebook",
"path": "gui/"
}
}
]
}
}
2 changes: 1 addition & 1 deletion beet-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ pipeline:
- gm4.plugins.annotations.add_module_dir_to_diagnostics
- gm4.plugins.output.release
- gm4.plugins.manifest.update_patch
- gm4.plugins.versioning.isolated_library
pipeline:
- beet.contrib.lantern_load.base_data_pack
- gm4.plugins.versioning.isolated_library
- gm4.plugins.manifest.write_credits
- gm4.plugins.test.strip_tests
- require: [beet.contrib.copy_files]
Expand Down
22 changes: 21 additions & 1 deletion gm4/modeldata_registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
"axolotl_bucket": {
"gm4_metallurgy:shamir/infinitas": 100
},
"azalea_leaves": {
"gm4_monsters_unbound:item/spore/default": 1
},
"bamboo_hanging_sign": {
"gm4_trapped_signs:item/secret_trapped_bamboo_hanging_sign": 1,
"gm4_trapped_signs:item/trapped_bamboo_hanging_sign": 2
Expand Down Expand Up @@ -189,6 +192,9 @@
"gm4_trapped_signs:item/secret_trapped_cherry_hanging_sign": 1,
"gm4_trapped_signs:item/trapped_cherry_hanging_sign": 2
},
"cherry_leaves": {
"gm4_monsters_unbound:item/spore/cherry": 1
},
"cherry_sign": {
"gm4_trapped_signs:item/trapped_cherry_sign": 1,
"gm4_trapped_signs:item/secret_trapped_cherry_sign": 2
Expand Down Expand Up @@ -576,6 +582,9 @@
"gm4_animi_shamir:shamir/animi": 124,
"gm4_orb_of_ankou:guidebook_icon/orb_of_ankou": 200
},
"flowering_azalea_leaves": {
"gm4_monsters_unbound:item/spore/flowering": 1
},
"furnace": {
"gm4_smelteries:gui/advancement/smelteries": 1,
"gm4_forming_press:guidebook_icon/forming_press": 2,
Expand Down Expand Up @@ -958,7 +967,6 @@
"gm4_animi_shamir:shamir/animi": 124
},
"leather_chestplate": {
"gm4_combat_expanded:gui/advancement/combat_expanded_identify": 1,
"gm4_weighted_armour:shamir/helious": 103,
"gm4_metallurgy:shamir/defuse": 106,
"gm4_iacio_shamir:shamir/iacio": 122,
Expand Down Expand Up @@ -992,6 +1000,9 @@
"lime_concrete_powder": {
"gm4_zauber_cauldrons:block/liquid_magicol/lime": 300
},
"lime_glazed_terracotta": {
"gm4_monsters_unbound:item/elite_headwear/mending": 1
},
"lingering_potion": {
"gm4_midnight_menaces:guidebook_icon/illusioner_nights": 1,
"gm4_lightning_in_a_bottle:item/lingering_lightning_in_a_bottle": 4,
Expand Down Expand Up @@ -1167,6 +1178,9 @@
},
"netherite_sword": {
"gm4_combat_expanded:guidebook_icon/combat_expanded": 1,
"gm4_survival_refightalized:guidebook_icon/survival_refightalized": 2,
"gm4_monsters_unbound:guidebook_icon/survival_refightalized": 3,
"gm4_augmented_armor:guidebook_icon/survival_refightalized": 4,
"gm4_end_fishing:item/end_city_swords_1": 10,
"gm4_end_fishing:item/end_city_swords_2": 11,
"gm4_end_fishing:item/end_city_swords_3": 12,
Expand Down Expand Up @@ -1226,10 +1240,16 @@
"oxidized_cut_copper": {
"gm4_tinkering_compressors:block/tinkering_compressor_plate": 1
},
"packed_ice": {
"gm4_monsters_unbound:item/elite_headwear/glacial": 1
},
"paper": {
"gm4_book_binders:item/enchanted_page": 1,
"gm4_book_binders:gui/advancement/book_binders_debind": 2
},
"pearlescent_froglight": {
"gm4_monsters_unbound:item/elite_headwear/pearlescent": 1
},
"phantom_membrane": {
"gm4_midnight_menaces:guidebook_icon/enlarging_phantoms": 1
},
Expand Down
6 changes: 3 additions & 3 deletions gm4_animi_shamir/beet.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: gm4_animi_shamir
name: Animi Shamir
version: 1.4.X
version: 1.3.X

data_pack:
load: .
Expand All @@ -18,8 +18,8 @@ meta:
gm4:
versioning:
required:
gm4_metallurgy: 1.4.0
lib_player_death: 1.2.0
gm4_metallurgy: 1.3.0
lib_player_death: 1.1.0
schedule_loops: [main]
model_data:
- reference: shamir/animi
Expand Down
6 changes: 3 additions & 3 deletions gm4_apple_trees/beet.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: gm4_apple_trees
name: Apple Trees
version: 2.4.X
version: 2.3.X

data_pack:
load: .
Expand All @@ -17,8 +17,8 @@ meta:
gm4:
versioning:
required:
lib_trades: 1.5.0
lib_trees: 1.2.0
lib_trades: 1.4.0
lib_trees: 1.1.0
schedule_loops:
- main
- slow_clock
Expand Down
4 changes: 2 additions & 2 deletions gm4_audere_shamir/beet.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: gm4_audere_shamir
name: Audere Shamir
version: 1.4.X
version: 1.3.X

data_pack:
load: .
Expand All @@ -16,7 +16,7 @@ meta:
gm4:
versioning:
required:
gm4_metallurgy: 1.4.0
gm4_metallurgy: 1.3.0
schedule_loops: [main]
model_data:
- item: tools
Expand Down
11 changes: 11 additions & 0 deletions gm4_augmented_armor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Augmented Armor<!--$headerTitle--><!--$pmc:delete-->

Use special armor augments to defend against mobs that grow ever stronger!<!--$pmc:headerSize-->

<img src="images/augmented_armor.png" alt="Spore Zombies in Lush Caves" height="350"/> <!--$localAssetToURL--> <!--$modrinth:replaceWithVideo--> <!--$pmc:delete-->

### Features:
- Mobs will drop new Modified armor and weapons. These come with special attributes that allow you to customize your gear!
- Augments range from a ramping speed boost to a loyal immortal dog to fight by your side. Or a piece of armour that teleports you randomly, if that's what you like.

A full list of all augments to can be found at the [Wiki](https://wiki.gm4.co/Augmented_Armor).
36 changes: 36 additions & 0 deletions gm4_augmented_armor/beet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
id: gm4_augmented_armor
name: Augmented Armor
version: 1.0.X

data_pack:
load: .

resource_pack:
load: .

pipeline:
- gm4.plugins.extend.module
- gm4.plugins.include.lib_forceload
- gm4.plugins.include.lib_lore

meta:
gm4:
versioning:
required:
lib_forceload: 1.3.0
lib_lore: 1.1.0
gm4_survival_refightalized: 1.0.0
schedule_loops:
- slow_clock
website:
description: Use special armor augments to defend against mobs that grow ever stronger.
recommended:
- gm4_monsters_unbound
- gm4_metallurgy
video: null
wiki: https://wiki.gm4.co/wiki/Augmented_Armor
credits:
Creator:
- Thanathor
Icon Design:
- Hozz
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"display": {
"icon": {
"id": "minecraft:iron_chestplate"
},
"title": {
"translate": "advancement.gm4.augmented_armor.identify.title",
"fallback": "Hidden Power"
},
"description": {
"translate": "advancement.gm4.augmented_armor.identify.description",
"fallback": "Obtain an Augmented piece of armor from a monster",
"color": "gray"
},
"frame": "task"
},
"parent": "gm4:survival_refightalized_armor_damage",
"criteria": {
"full_set": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"predicates": {
"minecraft:custom_data": "{gm4_augmented_armor:{}}"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"display": {
"icon": {
"id": "minecraft:chorus_fruit"
},
"title": {
"translate": "advancement.gm4.augmented_armor.vorpal.title",
"fallback": "Vwoops!"
},
"description": {
"translate": "advancement.gm4.augmented_armor.vorpal.description",
"fallback": "Who thought this was a good idea?"
},
"frame": "challenge",
"hidden": true
},
"parent": "gm4:augmented_armor_identify",
"criteria": {
"guardian": {
"trigger": "minecraft:impossible"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"criteria": {
"feed": {
"trigger": "minecraft:player_interacted_with_entity",
"conditions": {
"entity": {
"type": "wolf",
"nbt": "{Tags:[\"gm4_aa_wolf\"]}"
}
}
}
},
"rewards": {
"function": "gm4_augmented_armor:armor/augment/type/canine/wolf_interact_check"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"criteria": {
"requirement": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"player": [
{
"condition": "minecraft:reference",
"name": "gm4_augmented_armor:modified_armor/augment/hearty"
}
],
"items": [
{
"items": "#gm4_survival_refightalized:armor",
"predicates": {
"minecraft:custom_data": "{gm4_augmented_armor:{augment:{name:hearty}}}"
}
}
]
}
}
},
"rewards": {
"function": "gm4_augmented_armor:armor/augment/type/hearty/update"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"criteria": {
"damage_dealt": {
"trigger": "minecraft:player_hurt_entity",
"conditions": {
"player": [
{
"condition": "minecraft:reference",
"name": "gm4_augmented_armor:modified_armor/generic_damage_dealt"
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"nbt": "{Tags:[\"gm4_aa_augment_damager\"]}"
}
}
}
],
"damage": {
"blocked": false,
"type": {}
}
}
}
},
"rewards": {
"function": "gm4_augmented_armor:armor/trigger/damage_dealt"
}
}
Loading
Loading