This commit is contained in:
rixty 2021-04-03 13:56:59 +02:00
parent 45fe0a2c36
commit 89bfd5363b
23 changed files with 509 additions and 5 deletions

View File

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

View File

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

17
animations/powers/axe.txt Normal file
View File

@ -0,0 +1,17 @@
image=images/powers/axe_female.png
render_size=16,16
render_offset=8,8
[power]
position=0
frames=6
duration=33ms
type=looped
active_frame=all
frame=0,0,0,0,37,26,20,34
frame=1,1,32,0,30,32,14,40
frame=2,2,64,0,13,34,2,42
frame=3,3,96,0,29,32,6,40
frame=4,4,128,0,36,26,8,34
frame=5,5,160,0,29,34,6,35

View File

@ -0,0 +1,17 @@
image=images/powers/axe_female.png
render_size=16,16
render_offset=8,8
[power]
position=0
frames=6
duration=33ms
type=looped
active_frame=all
frame=0,0,0,0,37,26,20,34
frame=1,1,32,0,30,32,14,40
frame=2,2,64,0,13,34,2,42
frame=3,3,96,0,29,32,6,40
frame=4,4,128,0,36,26,8,34
frame=5,5,160,0,29,34,6,35

View File

@ -0,0 +1,40 @@
image=images/rocks/large1.png
[stance]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,160,150,80,190
frame=0,W,0,0,160,150,80,190
frame=0,NW,0,0,160,150,80,190
frame=0,N,0,0,160,150,80,190
frame=0,NE,0,0,160,150,80,190
frame=0,E,0,0,160,150,80,190
frame=0,SE,0,0,160,150,80,190
frame=0,S,0,0,160,150,80,190
[run]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,160,150,80,190
frame=0,W,0,0,160,150,80,190
frame=0,NW,0,0,160,150,80,190
frame=0,N,0,0,160,150,80,190
frame=0,NE,0,0,160,150,80,190
frame=0,E,0,0,160,150,80,190
frame=0,SE,0,0,160,150,80,190
frame=0,S,0,0,160,150,80,190
[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

@ -0,0 +1,40 @@
image=images/rocks/large2.png
[stance]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,160,150,80,190
frame=0,W,0,0,160,150,80,190
frame=0,NW,0,0,160,150,80,190
frame=0,N,0,0,160,150,80,190
frame=0,NE,0,0,160,150,80,190
frame=0,E,0,0,160,150,80,190
frame=0,SE,0,0,160,150,80,190
frame=0,S,0,0,160,150,80,190
[run]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,160,150,80,190
frame=0,W,0,0,160,150,80,190
frame=0,NW,0,0,160,150,80,190
frame=0,N,0,0,160,150,80,190
frame=0,NE,0,0,160,150,80,190
frame=0,E,0,0,160,150,80,190
frame=0,SE,0,0,160,150,80,190
frame=0,S,0,0,160,150,80,190
[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

@ -0,0 +1,40 @@
image=images/rocks/large3.png
[stance]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,160,150,80,190
frame=0,W,0,0,160,150,80,190
frame=0,NW,0,0,160,150,80,190
frame=0,N,0,0,160,150,80,190
frame=0,NE,0,0,160,150,80,190
frame=0,E,0,0,160,150,80,190
frame=0,SE,0,0,160,150,80,190
frame=0,S,0,0,160,150,80,190
[run]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,160,150,80,190
frame=0,W,0,0,160,150,80,190
frame=0,NW,0,0,160,150,80,190
frame=0,N,0,0,160,150,80,190
frame=0,NE,0,0,160,150,80,190
frame=0,E,0,0,160,150,80,190
frame=0,SE,0,0,160,150,80,190
frame=0,S,0,0,160,150,80,190
[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

@ -0,0 +1,40 @@
image=images/rocks/medium1.png
[stance]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,60,57,80,190
frame=0,W,0,0,60,57,80,190
frame=0,NW,0,0,60,57,80,190
frame=0,N,0,0,60,57,80,190
frame=0,NE,0,0,60,57,80,190
frame=0,E,0,0,60,57,80,190
frame=0,SE,0,0,60,57,80,190
frame=0,S,0,0,60,57,80,190
[run]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,60,57,80,190
frame=0,W,0,0,60,57,80,190
frame=0,NW,0,0,60,57,80,190
frame=0,N,0,0,60,57,80,190
frame=0,NE,0,0,60,57,80,190
frame=0,E,0,0,60,57,80,190
frame=0,SE,0,0,60,57,80,190
frame=0,S,0,0,60,57,80,190
[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

@ -0,0 +1,40 @@
image=images/rocks/medium2.png
[stance]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,60,57,80,190
frame=0,W,0,0,60,57,80,190
frame=0,NW,0,0,60,57,80,190
frame=0,N,0,0,60,57,80,190
frame=0,NE,0,0,60,57,80,190
frame=0,E,0,0,60,57,80,190
frame=0,SE,0,0,60,57,80,190
frame=0,S,0,0,60,57,80,190
[run]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,60,57,80,190
frame=0,W,0,0,60,57,80,190
frame=0,NW,0,0,60,57,80,190
frame=0,N,0,0,60,57,80,190
frame=0,NE,0,0,60,57,80,190
frame=0,E,0,0,60,57,80,190
frame=0,SE,0,0,60,57,80,190
frame=0,S,0,0,60,57,80,190
[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

@ -0,0 +1,40 @@
image=images/rocks/medium3.png
[stance]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,60,57,80,190
frame=0,W,0,0,60,57,80,190
frame=0,NW,0,0,60,57,80,190
frame=0,N,0,0,60,57,80,190
frame=0,NE,0,0,60,57,80,190
frame=0,E,0,0,60,57,80,190
frame=0,SE,0,0,60,57,80,190
frame=0,S,0,0,60,57,80,190
[run]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,60,57,80,190
frame=0,W,0,0,60,57,80,190
frame=0,NW,0,0,60,57,80,190
frame=0,N,0,0,60,57,80,190
frame=0,NE,0,0,60,57,80,190
frame=0,E,0,0,60,57,80,190
frame=0,SE,0,0,60,57,80,190
frame=0,S,0,0,60,57,80,190
[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

@ -0,0 +1,40 @@
image=images/rocks/small1.png
[stance]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,32,32,27,27
frame=0,W,0,0,32,32,27,27
frame=0,NW,0,0,32,32,27,27
frame=0,N,0,0,32,32,27,27
frame=0,NE,0,0,32,32,27,27
frame=0,E,0,0,32,32,27,27
frame=0,SE,0,0,32,32,27,27
frame=0,S,0,0,32,32,27,27
[run]
frames=1
duration=400ms
type=looped
frame=0,SW,0,0,32,32,27,27
frame=0,W,0,0,32,32,27,27
frame=0,NW,0,0,32,32,27,27
frame=0,N,0,0,32,32,27,27
frame=0,NE,0,0,32,32,27,27
frame=0,E,0,0,32,32,27,27
frame=0,SE,0,0,32,32,27,27
frame=0,S,0,0,32,32,27,27
[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

@ -0,0 +1,40 @@
image=images/rocks/small2.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

@ -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

@ -8,6 +8,7 @@ Alpha 0.06
* added tabs, in the skill menu (for now they are only for testing) - the skills menu is suspended pending fixing of a bug in the engine
* added images of logs and rocks breakable by the player
* added a file with the list of future NPCs
* added the pickaxe and the first stone breakable with the pickaxe
............................................

30
enemies/rock1.txt Normal file
View File

@ -0,0 +1,30 @@
name=Rock
level=1
categories=rock1,rock
rarity=common
xp=0
defeat_status=rock1
animations=animations/rocks/small1.txt
suppress_hp=true
loot=loot/rock-stone.txt
# combat stats
stat=hp,1
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

@ -2,9 +2,9 @@
name=Standard
description=The majority of this map is farming land, ideal for crops and animals.
currency=500
equipment=2,3,4
equipment=2,3,4,9
powers=10001
actionbar=10,11,0,0,0,0,0,0,0,0,0,0
actionbar=10,11,12,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: 242 KiB

BIN
images/loot/small1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

BIN
images/loot/small2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

@ -51,10 +51,59 @@ id=5
name=Woods
icon=264
quality=normal
price=1
price_sell=1
price=10
price_sell=5
max_quantity=500
#soundfx=soundfx/inventory/inventory_coins.ogg
loot_animation=animations/loot/woods5.txt,0,1
loot_animation=animations/loot/woods25.txt,2,24
loot_animation=animations/loot/woods100.txt,25,0
loot_animation=animations/loot/woods100.txt,25,0
[item]
id=6
# from second year
name=Woods
icon=264
quality=normal
price=50
price_sell=5
max_quantity=500
#soundfx=soundfx/inventory/inventory_coins.ogg
loot_animation=animations/loot/woods5.txt,0,1
loot_animation=animations/loot/woods25.txt,2,24
loot_animation=animations/loot/woods100.txt,25,0
[item]
id=7
name=Stones
icon=280
quality=normal
price=20
price_sell=10
max_quantity=500
#soundfx=soundfx/inventory/inventory_coins.ogg
loot_animation=animations/loot/stone1.txt
[item]
id=8
# from second year
name=stones
icon=288
quality=normal
price=100
price_sell=10
max_quantity=500
#soundfx=soundfx/inventory/inventory_coins.ogg
loot_animation=animations/loot/stone2.txt
[item]
id=9
name=Pickaxe
quality=low
item_type=tools
equip_flags=pickaxe
icon=259
soundfx=soundfx/inventory/inventory_metal.ogg
gfx=battle_axe
loot_animation=animations/tools/pickaxe.txt
dmg=melee,1,1

4
loot/rock-stone.txt Normal file
View File

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

View File

@ -2981,3 +2981,11 @@ requires_not_status=cut100-1
requires_status=cut100
spawn=stump100,28,47
[event]
# rock1
type=event
location=11,15,1,1
activate=on_load
requires_not_status=rock1
spawn=rock1,11,15

View File

@ -48,6 +48,27 @@ cooldown=1s
requires_flags=axe
target_categories=tree
[power]
id=12
name=Pickaxe
type=fixed
icon=259
new_state=instant
requires_mp=2
face=true
use_hazard=true
aim_assist=true
base_damage=melee
lifespan=1s
speed=12
radius=1.0
starting_pos=melee
animation=animations/powers/pickaxe.txt
directional=false
cooldown=1s
requires_flags=axe
target_categories=rock
[power]
id=2
#name=Slime Attack