tfv: assign all the items

This commit is contained in:
Vince Weaver 2018-07-15 22:19:14 -04:00
parent b631991726
commit 65f594ece1
3 changed files with 85 additions and 26 deletions

View File

@ -28,6 +28,8 @@ struct dialog_type dialog[MAX_DIALOG]={
[DIALOG_KENJESU] = { [DIALOG_KENJESU] = {
.statement[0].words="Have you found your lost guinea pig?", .statement[0].words="Have you found your lost guinea pig?",
.statement[0].next=0, .statement[0].next=0,
.statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_VORTEXCANNON,
}, },
[DIALOG_MATHEMAGICIAN] = { [DIALOG_MATHEMAGICIAN] = {
.statement[0].words="Have you tried finding the eigenvalues?", .statement[0].words="Have you tried finding the eigenvalues?",
@ -38,8 +40,8 @@ struct dialog_type dialog[MAX_DIALOG]={
.statement[0].next=1, .statement[0].next=1,
.statement[1].words="There lived a big giant bee", .statement[1].words="There lived a big giant bee",
.statement[1].next=1, .statement[1].next=1,
.statement[2].action=ACTION_ITEM2, .statement[1].action=ACTION_ITEM,
.statement[2].item=ITEM_5K_RESISTOR, .statement[1].item=ITEM_5K_RESISTOR,
}, },
// Dining Hall // Dining Hall
[DIALOG_OSCAR]= { [DIALOG_OSCAR]= {
@ -49,10 +51,14 @@ struct dialog_type dialog[MAX_DIALOG]={
.statement[1].next=2, .statement[1].next=2,
.statement[2].words="They want to eat you", .statement[2].words="They want to eat you",
.statement[2].next=0, .statement[2].next=0,
.statement[2].action=ACTION_ITEM,
.statement[2].item=ITEM_CHEX_MIX,
}, },
[DIALOG_NICOLE]= { [DIALOG_NICOLE]= {
.statement[0].words="Have something from my homeland.", .statement[0].words="Have something from my homeland.",
.statement[0].next=1, .statement[0].next=1,
.statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_VEGEMITE,
.statement[1].words="Not New Jersey, the other one.", .statement[1].words="Not New Jersey, the other one.",
.statement[1].next=0, .statement[1].next=0,
}, },
@ -67,12 +73,16 @@ struct dialog_type dialog[MAX_DIALOG]={
.statement[1].next=2, .statement[1].next=2,
.statement[2].words="V is equal to IR", .statement[2].words="V is equal to IR",
.statement[2].next=0, .statement[2].next=0,
.statement[2].action=ACTION_ITEM,
.statement[2].item=ITEM_1K_RESISTOR,
}, },
[DIALOG_CAFETERIA_LADY]= { [DIALOG_CAFETERIA_LADY]= {
.statement[0].words="Happpy Birthday!", .statement[0].words="Happpy Birthday!",
.statement[0].next=1, .statement[0].next=1,
.statement[1].words="Have a cupcake", .statement[1].words="Have a cupcake",
.statement[1].next=0, .statement[1].next=0,
.statement[1].action=ACTION_ITEM,
.statement[1].item=ITEM_CUPCAKE,
}, },
// Metro Station // Metro Station
[DIALOG_METRO_WORKER]= { [DIALOG_METRO_WORKER]= {
@ -84,6 +94,8 @@ struct dialog_type dialog[MAX_DIALOG]={
[DIALOG_TINY_CAPABARA]= { [DIALOG_TINY_CAPABARA]= {
.statement[0].words="GRONK", .statement[0].words="GRONK",
.statement[0].next=0, .statement[0].next=0,
.statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_CARROT,
}, },
[DIALOG_GIANT_GUINEA_PIG]= { [DIALOG_GIANT_GUINEA_PIG]= {
.statement[0].words="SQUEAK?", .statement[0].words="SQUEAK?",
@ -124,11 +136,16 @@ struct dialog_type dialog[MAX_DIALOG]={
[DIALOG_GUS]= { [DIALOG_GUS]= {
.statement[0].words="I found this...", .statement[0].words="I found this...",
.statement[0].next=0, .statement[0].next=0,
.statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_GLAMDRING,
}, },
[DIALOG_RAISTLIN]= { [DIALOG_RAISTLIN]= {
.statement[0].words="This may aid you on your journey", .statement[0].words="This may aid you on your journey",
.statement[0].next=0, .statement[0].next=0,
// AMIGA? .statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_LINUX_CD,
.statement[1].words="Should I sell my Amiga for an SGI Indigo2",
.statement[1].next=0,
}, },
[DIALOG_FORD]= { [DIALOG_FORD]= {
.statement[0].words="557-0868 Utopia BBS is really great!", .statement[0].words="557-0868 Utopia BBS is really great!",
@ -159,11 +176,15 @@ struct dialog_type dialog[MAX_DIALOG]={
.statement[1].next=2, .statement[1].next=2,
.statement[2].words="DENOMINATOR SQUARED MUST GO", .statement[2].words="DENOMINATOR SQUARED MUST GO",
.statement[2].next=0, .statement[2].next=0,
.statement[2].action=ACTION_ITEM,
.statement[2].item=ITEM_9V_BATTERY,
}, },
// HALLWAY // HALLWAY
[DIALOG_LIZBETH]={ [DIALOG_LIZBETH]={
.statement[0].words="Let's start a guinea pig and goat farm.", .statement[0].words="Let's start a guinea pig and goat farm.",
.statement[0].next=0, .statement[0].next=0,
.statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_LIZBETH_STAR,
}, },
[DIALOG_BLUME]={ [DIALOG_BLUME]={
.statement[0].words="Deater con patillas", .statement[0].words="Deater con patillas",
@ -175,6 +196,8 @@ struct dialog_type dialog[MAX_DIALOG]={
.statement[0].next=1, .statement[0].next=1,
.statement[1].words="No more lawsuits.", .statement[1].words="No more lawsuits.",
.statement[1].next=0, .statement[1].next=0,
.statement[1].action=ACTION_ITEM,
.statement[1].item=ITEM_AA_BATTERY,
// Sue you? // Sue you?
}, },
[DIALOG_AGENT_S]= { [DIALOG_AGENT_S]= {
@ -194,6 +217,8 @@ struct dialog_type dialog[MAX_DIALOG]={
.statement[0].next=1, .statement[0].next=1,
.statement[1].words="Karte Spiel!", .statement[1].words="Karte Spiel!",
.statement[1].next=0, .statement[1].next=0,
.statement[1].action=ACTION_ITEM,
.statement[1].item=ITEM_KARTE_SPIEL,
}, },
// HOMEROOM // HOMEROOM
[DIALOG_MEAN_LADY]= { [DIALOG_MEAN_LADY]= {
@ -210,6 +235,8 @@ struct dialog_type dialog[MAX_DIALOG]={
[DIALOG_WARWICK]={ [DIALOG_WARWICK]={
.statement[0].words="MARIOKART PARTY AT MY HOUSE", .statement[0].words="MARIOKART PARTY AT MY HOUSE",
.statement[0].next=0, .statement[0].next=0,
.statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_BLUE_LED,
}, },
[DIALOG_WARGO]={ [DIALOG_WARGO]={
.statement[0].words="WARWICK! AMAZING SWIMMER MUSCLES", .statement[0].words="WARWICK! AMAZING SWIMMER MUSCLES",
@ -225,6 +252,8 @@ struct dialog_type dialog[MAX_DIALOG]={
.statement[1].next=0, .statement[1].next=0,
.statement[2].words="on any given day.", .statement[2].words="on any given day.",
.statement[2].next=0, .statement[2].next=0,
.statement[2].action=ACTION_ITEM,
.statement[2].action=ITEM_ARMY_KNIFE,
}, },
[DIALOG_BRIGHID]= { [DIALOG_BRIGHID]= {
.statement[0].words="...", .statement[0].words="...",
@ -239,6 +268,8 @@ struct dialog_type dialog[MAX_DIALOG]={
.statement[0].next=1, .statement[0].next=1,
.statement[1].words="No esta aqui", .statement[1].words="No esta aqui",
.statement[1].next=0, .statement[1].next=0,
.statement[1].action=ACTION_ITEM,
.statement[1].item=ITEM_ELF_RUNES,
}, },
// Patriot Room // Patriot Room
[DIALOG_MAC]= { [DIALOG_MAC]= {
@ -254,6 +285,8 @@ struct dialog_type dialog[MAX_DIALOG]={
[DIALOG_AGENT_N]= { [DIALOG_AGENT_N]= {
.statement[0].words="Not another Starfleet Mission.", .statement[0].words="Not another Starfleet Mission.",
.statement[0].next=0, .statement[0].next=0,
.statement[0].action=ACTION_ITEM,
.statement[0].item=ITEM_RED_LED,
}, },
[DIALOG_STEVE2]= { [DIALOG_STEVE2]= {
.statement[0].words="How bout them O\'s", .statement[0].words="How bout them O\'s",

View File

@ -1,8 +1,6 @@
#define ACTION_NONE 0 #define ACTION_NONE 0
#define ACTION_ITEM1 1 #define ACTION_ITEM 1
#define ACTION_ITEM2 2 #define ACTION_TIME 2
#define ACTION_ITEM3 3
#define ACTION_TIME 4
#define DIALOG_LIZ_WILL 0 #define DIALOG_LIZ_WILL 0

View File

@ -1,26 +1,54 @@
#define ITEM1_CUPCAKE 0x01 // cafeteria lady #define ITEM1_CUPCAKE_SHIFT 0x01 // cafeteria lady
#define ITEM1_CARROT 0x02 // capabara #define ITEM1_CARROT_SHIFT 0x02 // capabara
#define ITEM1_SMARTPASS 0x03 // metro worker #define ITEM1_SMARTPASS_SHIFT 0x04 // metro worker
#define ITEM1_ELF_RUNES 0x04 // mree #define ITEM1_ELF_RUNES_SHIFT 0x08 // mree
#define ITEM1_LIZBETH_STAR 0x05 // Lizbeth #define ITEM1_LIZBETH_STAR_SHIFT 0x10 // Lizbeth
#define ITEM1_KARTE_SPIEL 0x06 // Frau #define ITEM1_KARTE_SPIEL_SHIFT 0x20 // Frau
#define ITEM1_GLAMDRING 0x07 // Gus #define ITEM1_GLAMDRING_SHIFT 0x40 // Gus
#define ITEM1_VEGEMITE 0x08 // Nicole #define ITEM1_VEGEMITE_SHIFT 0x80 // Nicole
// PARTS // PARTS
#define ITEM_BLUE_LED 0x01 // bird #define ITEM_BLUE_LED_SHIFT 0x01 // bird
#define ITEM_RED_LED 0x02 // #define ITEM_RED_LED_SHIFT 0x02 //
#define ITEM_1K_RESISTOR 0x03 // brown black red, Elaine #define ITEM_1K_RESISTOR_SHIFT 0x04 // brown black red, Elaine
#define ITEM_5K_RESISTOR 0x04 // yellow purple red, Tater #define ITEM_5K_RESISTOR_SHIFT 0x08 // yellow purple red, Tater
#define ITEM_9V_BATTERY 0x05 // Cindy #define ITEM_9V_BATTERY_SHIFT 0x10 // Cindy
#define ITEM_AA_BATTERY 0x06 // Oscar #define ITEM_AA_BATTERY_SHIFT 0x20 // Oscar
#define ITEM_LINUX_CD 0x07 // john #define ITEM_LINUX_CD_SHIFT 0x40 // john
#define ITEM_ARMY_KNIFE 0x08 // Steve #define ITEM_ARMY_KNIFE_SHIFT 0x80 // Steve
// Other possibilities // Other possibilities
#define ITEM_CHEX_MIX 0x01 // oscar #define ITEM_CHEX_MIX_SHIFT 0x01 // oscar
#define ITEM_CLASS_RING 0x02 // #define ITEM_CLASS_RING_SHIFT 0x02 //
#define ITEM_VORTEXCANNON 0x04 // #define ITEM_VORTEXCANNON_SHIFT 0x04 //
//#define ITEM_NULL 0x00 // segfault
#define ITEM_CUPCAKE 0x00 // cafeteria lady
#define ITEM_CARROT 0x01 // capabara
#define ITEM_SMARTPASS 0x02 // metro worker
#define ITEM_ELF_RUNES 0x03 // mree
#define ITEM_LIZBETH_STAR 0x04 // Lizbeth
#define ITEM_KARTE_SPIEL 0x05 // Frau
#define ITEM_GLAMDRING 0x06 // Gus
#define ITEM_VEGEMITE 0x07 // Nicole
// PARTS
#define ITEM_BLUE_LED 0x08 // Warwick
#define ITEM_RED_LED 0x09 // Nick
#define ITEM_1K_RESISTOR 0x0A // brown black red, Elaine
#define ITEM_5K_RESISTOR 0x0B // yellow purple red, Tater
#define ITEM_9V_BATTERY 0x0C // Kathy
#define ITEM_AA_BATTERY 0x0D // Erin
#define ITEM_LINUX_CD 0x0E // John
#define ITEM_ARMY_KNIFE 0x0F // Steve
// Other possibilities
#define ITEM_CHEX_MIX 0x10 // Oscar
#define ITEM_CLASS_RING 0x11 //
#define ITEM_VORTEXCANNON 0x12 // Ken
extern char item_names[2][8][15]; extern char item_names[2][8][15];