invisible wall for ActorWithBoby to prevent ArrayIndexException, faction system documentation, actor value: new boolean type, improvement on wall drawing
Former-commit-id: 6f90894a004acea32ef9361dbbece06a9b1db26a Former-commit-id: 80757a7d641eac3687e552f657a0dee5692e6cf8
BIN
res/graphics/terrain/terrain.png
Executable file → Normal file
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 24 KiB |
BIN
res/graphics/terrain/terrain_old.png
Executable file
|
After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 90 KiB |
BIN
res/graphics/terrain/wall.png
Executable file → Normal file
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 8.5 KiB |
BIN
res/graphics/terrain/wall_old.png
Executable file
|
After Width: | Height: | Size: 29 KiB |
@@ -4,15 +4,15 @@
|
||||
"baseheight" : 40,
|
||||
"basemass" : 60.0,
|
||||
|
||||
"toolsize" : 15,
|
||||
|
||||
"strength" : 1000,
|
||||
"strengthvariable" : [100,100,100,100,100,100,100],
|
||||
|
||||
"accel" : 0.2,
|
||||
|
||||
"speed" : 3.0,
|
||||
"speedvariable" : [100,100,100,100,100,100,100],
|
||||
|
||||
"jumppower" : 6.0,
|
||||
"jumppower" : 5.5,
|
||||
"jumppowervariable" : [100,100,100,100,100,100,100],
|
||||
|
||||
"scale" : 1,
|
||||
@@ -21,10 +21,12 @@
|
||||
"speed" : 2.0,
|
||||
"speedvariable" : [100,100,100,100,100,100,100],
|
||||
|
||||
"jump" : 5.5,
|
||||
"jumpvariable" : [100,100,100,100,100,100,100],
|
||||
"physiquemult" : [100,100,100,100,100,100,100],
|
||||
|
||||
"encumbrance" : 1000,
|
||||
"basedefence" : "work in progress"
|
||||
"basedefence" : "work in progress",
|
||||
|
||||
"toolsize" : 15,
|
||||
"intelligent" : true
|
||||
|
||||
}
|
||||
8
res/raw/FactionGenericPlayer.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"factionname" : "player",
|
||||
|
||||
"factionamicable" : ["follower"],
|
||||
"factionneutral" : [],
|
||||
"factionhostile" : ["wildlifehostile"],
|
||||
"factionfearful" : ["wildlifeflee"]
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
"factionname" : "sigrid",
|
||||
|
||||
"factionamicable" : ["follower"],
|
||||
"factionneutral" : ["controlledvillager"],
|
||||
"factionneutral" : ["controlledvillager", "wildhamletcontroller"],
|
||||
"factionhostile" : ["wildlifehostile"],
|
||||
"factionfearful" : ["peasant", "wildlifeflee"]
|
||||
"factionfearful" : ["wildhamletvillager", "wildlifeflee"]
|
||||
}
|
||||
35
res/raw/Faction_doc.txt
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"factionname" : "player",
|
||||
|
||||
"factionamicable" : ["follower"],
|
||||
"factionneutral" : [],
|
||||
"factionhostile" : ["wildlifehostile"],
|
||||
"factionfearful" : ["wildlifeflee"]
|
||||
}
|
||||
|
||||
factionname : Identifier of the faction data
|
||||
|
||||
factionamicable : Amicable faction. Players can give/take items of actors of this faction, in plus
|
||||
to the ability of trading. Assigned actors (usually follower) will follow players
|
||||
in game.
|
||||
|
||||
factionneutral : Explicit neutrality. If the assigned actor is intelligent (NPC AV), players can
|
||||
trade with them. Unassigned faction will be treated like neutral, but players can
|
||||
not make any trade with them.
|
||||
|
||||
factionhostile : Assigned faction will attack players on the sight. e.g. 'wildlifehostile'
|
||||
|
||||
factionfearful : Assigned faction will flee from players on the sight. e.g. 'wildlifeflee'
|
||||
|
||||
|
||||
|
||||
|
||||
== Generic faction information ==
|
||||
|
||||
* player : Self-explanatory
|
||||
* follower : Self-explanatory
|
||||
* controlledvillager : Villagers of your hamlet
|
||||
* wildlifehostile : Hostile mobs, self-explanatory
|
||||
* wildlifeflee : Fleeing mobs, self-explanatory
|
||||
* wildhamletvillager : Generic villager of the pre-generated hamlets.
|
||||
* wildhamletcontroller : Ruler of the pre-generated hamlets.
|
||||