This commit is contained in:
rixty 2021-03-27 09:56:56 +01:00
parent 6ed52c7790
commit feb61373b5
29 changed files with 263 additions and 32 deletions

View File

@ -0,0 +1,13 @@
image=images/loot/coins100.png
[power]
frames=6
duration=600ms
type=play_once
frame=0,0,0,71,38,52,10,70
frame=1,0,41,0,44,64,12,85
frame=2,0,69,64,44,64,13,86
frame=3,0,0,0,41,71,14,75
frame=4,0,38,71,31,43,15,36
frame=5,0,85,0,29,15,15,8

View File

@ -0,0 +1,13 @@
image=images/loot/coins25.png
[power]
frames=6
duration=600ms
type=play_once
frame=0,0,41,62,39,52,10,71
frame=1,0,0,62,41,61,9,85
frame=2,0,0,0,38,62,9,85
frame=3,0,38,0,34,62,10,66
frame=4,0,72,13,23,24,12,18
frame=5,0,72,0,24,13,13,7

View File

@ -0,0 +1,13 @@
image=images/loot/coins5.png
[power]
frames=6
duration=600ms
type=play_once
frame=0,0,37,56,32,50,7,69
frame=1,0,0,0,40,56,10,84
frame=2,0,0,56,37,59,9,82
frame=3,0,40,0,26,55,8,59
frame=4,0,37,106,17,11,7,7
frame=5,0,54,106,17,9,7,5

View File

@ -0,0 +1,13 @@
image=images/loot/woods100.png
[animation]
frames=6
duration=600ms
type=play_once
frame=0,0,0,32,32,32,32,32
frame=1,0,0,32,32,32,32,32
frame=2,0,0,32,32,32,32,32
frame=3,0,0,32,32,32,32,32
frame=4,0,0,32,32,32,32,32
frame=5,0,0,32,32,32,32,32

View File

@ -0,0 +1,13 @@
image=images/loot/woods25.png
[animation]
frames=6
duration=600ms
type=play_once
frame=0,0,0,32,32,32,32,32
frame=1,0,0,32,32,32,32,32
frame=2,0,0,32,32,32,32,32
frame=3,0,0,32,32,32,32,32
frame=4,0,0,32,32,32,32,32
frame=5,0,0,32,32,32,32,32

View File

@ -0,0 +1,13 @@
image=images/loot/woods5.png
[animation]
frames=6
duration=600ms
type=play_once
frame=0,0,0,32,32,32,32,32
frame=1,0,0,32,32,32,32,32
frame=2,0,0,32,32,32,32,32
frame=3,0,0,32,32,32,32,32
frame=4,0,0,32,32,32,32,32
frame=5,0,0,32,32,32,32,32

13
animations/tools/axe.txt Normal file
View File

@ -0,0 +1,13 @@
image=images/loot/battle_axe.png
[animation]
frames=6
duration=600ms
type=play_once
frame=0,0,45,54,46,39,15,51
frame=1,0,45,0,48,54,16,74
frame=2,0,0,0,45,75,13,105
frame=3,0,93,0,31,66,4,84
frame=4,0,91,66,29,35,11,33
frame=5,0,0,75,31,17,17,8

View File

@ -0,0 +1,40 @@
image=images/trees/stump.png
[stance]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,32,32,32,32
frame=0,W,0,0,32,32,32,32
frame=0,NW,0,0,32,32,32,32
frame=0,N,0,0,32,32,32,32
frame=0,NE,0,0,32,32,32,32
frame=0,E,0,0,32,32,32,32
frame=0,SE,0,0,32,32,32,32
frame=0,S,0,0,32,32,32,32
[run]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,32,32,32,32
frame=0,W,0,0,32,32,32,32
frame=0,NW,0,0,32,32,32,32
frame=0,N,0,0,32,32,32,32
frame=0,NE,0,0,32,32,32,32
frame=0,E,0,0,32,32,32,32
frame=0,SE,0,0,32,32,32,32
frame=0,S,0,0,32,32,32,32
[die]
frames=1
duration=33ms
type=looped
frame=0,0,0,0,0,0,0,0
frame=0,1,0,0,0,0,0,0
frame=0,2,0,0,0,0,0,0
frame=0,3,0,0,0,0,0,0
frame=0,4,0,0,0,0,0,0
frame=0,5,0,0,0,0,0,0
frame=0,6,0,0,0,0,0,0
frame=0,7,0,0,0,0,0,0

View File

@ -94,4 +94,5 @@ Alpha 0.05
* added tools and money icons
* added sounds to the farm map
* Removed the ability to create alternative stash. The engine does not allow it
* Started the creation of the village map
* Started the creation of the village map
* the main character can cut trees, using only the axe tool, that drop wood (animations are still missing)

30
enemies/stump1.txt Normal file
View File

@ -0,0 +1,30 @@
name=Stump
level=1
categories=stump,tree
rarity=common
xp=0
defeat_status=cut1-1
animations=animations/trees/stump.txt
suppress_hp=true
loot=loot/stump-woods.txt
# combat stats
stat=hp,60
speed=0
melee_range=1
threat_range=16
turn_delay=400ms
chance_pursue=5
power=melee,2,100
cooldown_hit=133ms
stat=accuracy,100
stat=avoidance,0
stat=dmg_melee_min,0
stat=dmg_melee_max,0
cooldown=1s

View File

@ -1,6 +1,6 @@
name=Tree
level=1
categories=spring-tree1
categories=spring-tree1,tree
rarity=common
xp=0
@ -10,10 +10,10 @@ animations=animations/trees/tree1.txt
suppress_hp=true
#loot=currency,100,10,25
loot=loot/tree-woods.txt
# combat stats
stat=hp,50
stat=hp,120
speed=0
melee_range=1
threat_range=16

View File

@ -2,9 +2,9 @@
name=Standard
description=The majority of this map is farming land, ideal for crops and animals.
currency=500
equipment=2,31
equipment=2,3,4
powers=10001
actionbar=1,0,0,0,0,0,0,0,0,0,0,0
actionbar=10,11,0,0,0,0,0,0,0,0,0,0
hero_options=0,1
[class]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 KiB

After

Width:  |  Height:  |  Size: 239 KiB

BIN
images/loot/coins100.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

BIN
images/loot/coins25.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
images/loot/coins5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
images/loot/woods100.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
images/loot/woods25.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/loot/woods5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 926 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

BIN
images/trees/stump.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -8,11 +8,14 @@ price=1
price_sell=1
max_quantity=50000
soundfx=soundfx/inventory/inventory_coins.ogg
loot_animation=animations/loot/coins5.txt,0,9
loot_animation=animations/loot/coins25.txt,10,24
loot_animation=animations/loot/coins100.txt,25,0
[item]
id=2
name=Example Weapon
icon=0
icon=258
quality=normal
level=1
price=100
@ -20,7 +23,7 @@ item_type=weapon
equip_flags=weapon
[item]
id=31
id=3
name=Hoe
quality=low
item_type=tools
@ -29,4 +32,29 @@ icon=265
soundfx=soundfx/inventory/inventory_metal.ogg
gfx=battle_axe
loot_animation=animations/tools/hoe.txt
#dmg=melee,5,15
dmg=melee,1,1
[item]
id=4
name=Axe
quality=low
item_type=tools
equip_flags=axe
icon=257
soundfx=soundfx/inventory/inventory_metal.ogg
gfx=battle_axe
loot_animation=animations/tools/axe.txt
dmg=melee,12,12
[item]
id=5
name=Woods
icon=268
quality=normal
price=1
price_sell=1
max_quantity=500
#soundfx=soundfx/inventory/inventory_coins.ogg
loot_animation=animations/loot/woods5.txt,0,9
loot_animation=animations/loot/woods25.txt,10,24
loot_animation=animations/loot/woods100.txt,25,0

4
loot/stump-woods.txt Normal file
View File

@ -0,0 +1,4 @@
[loot]
id=5
chance=100
quantity=5,7

4
loot/tree-woods.txt Normal file
View File

@ -0,0 +1,4 @@
[loot]
id=5
chance=100
quantity=13,17

View File

@ -690,7 +690,7 @@ location=19,9,1,1
activate=on_trigger
hotspot=location
mapmod=level 1,19,9,1558
requires_item=31
requires_item=3
[event]
# change parallax 01
@ -1077,7 +1077,7 @@ requires_class=Standard
show_on_minimap=false
[event]
# tree
# tree1
type=event
location=19,6,1,1
activate=on_load
@ -1091,7 +1091,7 @@ location=20,9,1,1
activate=on_trigger
hotspot=location
mapmod=level 1,20,9,1558
requires_item=31
requires_item=3
[event]
# river sound
@ -1177,3 +1177,13 @@ location=78,36,1,1
activate=on_load
soundfx=soundfx/environment/amb_bird_1.ogg
[event]
# stump1
type=event
location=19,5,1,1
activate=static
repeat=false
requires_not_status=cut1-1
requires_status=cut1
spawn=stump,19,6

View File

@ -2,33 +2,35 @@
# the first two values are x,y positions
# some items have two more values, width and height
pos=0,-100,351,273
pos=0,-104,351,273
align=right
close=316,11
help=2,2,24,24
# define x,y position, slot type
equipment_slot=16,191,weapon
equipment_slot=16,223,weapon
equipment_slot=16,255,weapon
equipment_slot=112,191,weapon
equipment_slot=112,223,weapon
equipment_slot=112,255,weapon
equipment_slot=13,58,weapon
equipment_slot=13,92,weapon
equipment_slot=13,126,weapon
equipment_slot=13,160,weapon
equipment_slot=135,58,weapon
equipment_slot=135,92,weapon
equipment_slot=135,126,weapon
equipment_slot=135,160,weapon
#equipment_slot=160,80,accessory
# tools
equipment_slot=65,35,tools
equipment_slot=97,35,tools
equipment_slot=129,35,tools
equipment_slot=161,35,tools
equipment_slot=193,35,tools
equipment_slot=225,35,tools
equipment_slot=39,194,tools
equipment_slot=74,194,tools
equipment_slot=109,194,tools
equipment_slot=39,229,tools
equipment_slot=74,229,tools
equipment_slot=109,229,tools
carried_area=16,80
carried_cols=9
carried_rows=3
carried_area=173,35
carried_cols=5
carried_rows=7
label_title=163,13,center,top
currency=190,240,left,top
currency=90,37,center,top

View File

@ -3,11 +3,11 @@
# text_pos is the position/justification/alignment of the map name
# the text can also be hidden with text_pos=hidden
pos=0,-20,136,156
pos=0,-10,138,156
align=topright
background=images/menus/minimap.png
map_pos=6,24,124,130
map_pos=9,24,124,130
text_pos=68,2,center,top
color_enemy=0,0,0,0

View File

@ -6,7 +6,7 @@ INCLUDE powers/date.txt
INCLUDE powers/seasons.txt
[power]
id=1
id=10
name=Hoe
type=fixed
icon=265
@ -23,6 +23,27 @@ animation=animations/powers/hoe.txt
directional=false
cooldown=1s
requires_flags=hoe
target_categories=tools
[power]
id=11
name=Axe
type=fixed
icon=257
new_state=instant
face=true
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=1s
speed=12
radius=1.0
starting_pos=melee
animation=animations/powers/axe.txt
directional=false
cooldown=1s
requires_flags=axe
target_categories=tree
[power]
id=2