From ac590d903856c9b40b535282a80e69f0327105ba Mon Sep 17 00:00:00 2001 From: deed Date: Fri, 27 Jan 2017 18:35:51 +0100 Subject: [PATCH] ajout du moulin et quelques correction de leveldesign --- continents/newbieland.worldedit | 5 +- .../creature/objects/object_bag_b.creature | 5 +- .../creature/objects/object_mill.creature | 27 + .../botobjects_newbieland.primitive | 221 +++++++- .../newbieland/village1_lirria.primitive | 520 ++++++++++++++---- 5 files changed, 656 insertions(+), 122 deletions(-) create mode 100644 leveldesign/game_elem/creature/objects/object_mill.creature diff --git a/continents/newbieland.worldedit b/continents/newbieland.worldedit index 87d239c..1150ae2 100644 --- a/continents/newbieland.worldedit +++ b/continents/newbieland.worldedit @@ -14,6 +14,7 @@ - - + + + diff --git a/leveldesign/game_elem/creature/objects/object_bag_b.creature b/leveldesign/game_elem/creature/objects/object_bag_b.creature index 0c11122..3a11220 100644 --- a/leveldesign/game_elem/creature/objects/object_bag_b.creature +++ b/leveldesign/game_elem/creature/objects/object_bag_b.creature @@ -10,14 +10,11 @@ - + - - - diff --git a/leveldesign/game_elem/creature/objects/object_mill.creature b/leveldesign/game_elem/creature/objects/object_mill.creature new file mode 100644 index 0000000..77886dd --- /dev/null +++ b/leveldesign/game_elem/creature/objects/object_mill.creature @@ -0,0 +1,27 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/primitives/newbieland/botobjects_newbieland.primitive b/primitives/newbieland/botobjects_newbieland.primitive index fee4cf7..e9e0728 100644 --- a/primitives/newbieland/botobjects_newbieland.primitive +++ b/primitives/newbieland/botobjects_newbieland.primitive @@ -1,7 +1,7 @@ - + class @@ -460,7 +460,7 @@ - + class npc_bot @@ -471,7 +471,7 @@ sheet_client - object_bag_b + object_source @@ -1025,5 +1025,220 @@ + + + class + npc_manager + + + name + disp_nill + + + + + class + alias + + + name + alias + + + + + ai_activity + no_chang + + + class + npc_zone + + + name + nill + + + + + class + alias + + + name + alias + + + + + class + npc_group + + + name + nill + + + + class + npc_group_parameters + + + name + parameters + + + + + + class + alias + + + name + alias + + + + + + + class + npc_bot + + + name + disp_nill + + + sheet_client + object_mill + + + + + class + alias + + + name + alias + + + + + + + class + npc_group + + + name + bag + + + + class + npc_group_parameters + + + name + parameters + + + + + + class + alias + + + name + alias + + + + + + + class + npc_bot + + + name + bag_flour + + + sheet_client + object_bag_b + + + + + class + alias + + + name + alias + + + + + + + + class + npc_bot + + + name + bag_flour + + + sheet_client + object_bag_b + + + + + class + alias + + + name + alias + + + + + + + class + npc_bot + + + name + bag_flour + + + sheet_client + object_bag_b + + + + + class + alias + + + name + alias + + + + + + diff --git a/primitives/newbieland/village1_lirria.primitive b/primitives/newbieland/village1_lirria.primitive index 330db46..dafd0b0 100644 --- a/primitives/newbieland/village1_lirria.primitive +++ b/primitives/newbieland/village1_lirria.primitive @@ -1,7 +1,7 @@ - + class @@ -509,8 +509,8 @@ - - + + class npc_bot @@ -536,7 +536,7 @@ - + class npc_bot @@ -562,7 +562,8 @@ - + + class npc_bot @@ -588,7 +589,7 @@ - + class npc_bot @@ -645,8 +646,8 @@ - - + + class npc_bot @@ -672,7 +673,7 @@ - + class npc_bot @@ -698,7 +699,7 @@ - + class npc_bot @@ -724,7 +725,8 @@ - + + class npc_bot @@ -807,7 +809,7 @@ - + class npc_bot @@ -833,7 +835,8 @@ - + + class npc_bot @@ -859,7 +862,8 @@ - + + class npc_bot @@ -885,7 +889,7 @@ - + class npc_bot @@ -911,6 +915,130 @@ + + + class + npc_group + + + name + tente_givre + + + + class + npc_group_parameters + + + name + parameters + + + + + + class + alias + + + name + alias + + + + + + + class + npc_bot + + + name + village1_objet1 + + + sheet_client + tente_givre + + + vertical_pos + auto + + + + + class + alias + + + name + alias + + + + + + + class + npc_group + + + name + tente_givre + + + + class + npc_group_parameters + + + name + parameters + + + + + + class + alias + + + name + alias + + + + + + + class + npc_bot + + + name + village1_objet1 + + + sheet_client + tente_givre + + + vertical_pos + auto + + + + + class + alias + + + name + alias + + + + @@ -992,13 +1120,13 @@ equipment - VPA:601C12001390D21B + VPA:601C12000000D21B VPB:C0BC090000 VPC:395540A3C258D2 name - village1_npc_chef$fct_dispensary_worker$ + village1_npc_chef sheet_client @@ -1068,14 +1196,14 @@ event - timer_t0_triggered + start_of_state name - timer_say_chef + disp_village_chef - + class alias @@ -1088,98 +1216,20 @@ action - multi_actions + code class npc_event_handler_action - - - action - set_timer_t0 - - - class - npc_event_handler_action - - - name - timer - - - parameters - 1500 - - - - - action - random_select - - - class - npc_event_handler_action - - - name - ramdom_select - - - - action - say - - - class - npc_event_handler_action - - - name - say_chef_1 - - - parameters - say: VILLAGE1_CHEF_1 - - - - - action - say - - - class - npc_event_handler_action - - - name - say_chef_2 - - - parameters - say: VILLAGE1_CHEF_2 - - - - - action - say - - - class - npc_event_handler_action - - - name - say_chef_3 - - - parameters - say: VILLAGE1_CHEF_3 - - - + + name + disp_village_fille_action + + + parameters + ()rename("Yannkin$#(Chef)"); + @@ -1214,15 +1264,15 @@ - - + + class npc_bot equipment - VPA:601000600310D21B + VPA:601000600000D21B VPB:C0BC090000 VPC:3A6638A3C246DA @@ -1246,6 +1296,49 @@ + + + class + npc_group_event_handler + + + event + start_of_state + + + name + disp_village_fille + + + + + class + alias + + + name + alias + + + + + action + code + + + class + npc_event_handler_action + + + name + disp_village_fille_action + + + parameters + ()rename("Linette$#(Fille)"); + + + @@ -1278,15 +1371,15 @@ - - + + class npc_bot equipment - VPA:404C120C0490D21B + VPA:404C120C0000D21B VPB:C0BC090000 VPC:3A6638A3C246DA @@ -1310,6 +1403,207 @@ + + + class + npc_group_event_handler + + + event + start_of_state + + + name + disp_village_mere_handler + + + + + class + alias + + + name + alias + + + + + action + code + + + class + npc_event_handler_action + + + name + disp_village_mere_action + + + parameters + ()rename("Zatounette$#(Mere)"); + + + + + + + + + class + npc_manager + + + name + disp_village_mill + + + + + class + alias + + + name + alias + + + + + ai_activity + no_change + + + class + npc_zone + + + name + mill + + + + + class + alias + + + name + alias + + + + + class + npc_group + + + name + mill + + + + class + npc_group_parameters + + + name + parameters + + + + + + class + alias + + + name + alias + + + + + + + class + npc_bot + + + name + disp_mill + + + sheet_client + object_mill + + + + + class + alias + + + name + alias + + + + + + + + class + npc_bot + + + name + disp_mill_2 + + + sheet_client + object_mill + + + + + class + alias + + + name + alias + + + + + + + + class + npc_bot + + + name + disp_mill_3 + + + sheet_client + object_mill + + + + + class + alias + + + name + alias + + +