Aller au contenu
Terre des Éléments

marché de la forêt noire


Fibine
 Share

Recommended Posts

$>ls -l Troc.c
-rw-r--r--  1 fibine  TDE  372 26 Apr 13:58 Troc.c
$>vim Troc.c
#include <bonjour.h>
#include <bool.h>

void	Je_recherche{
	racine_d_arnica = 23;
	tige_de_roseau = 7;
	fibre_de_lin = 13;
	peau_d_ecureuil = 11;
	bois_sec_simple = 12;
}

void	Je_propose{
	ressources_mineur = TRUE;
	lvl_max = 7;
}

#define SIDE_1 nb_ressource_1 * lvl_ressource_1
#define SIDE_2 nb_ressource_2 * lvl_ressource_2
bool	Echange{
	if (SIDE_1 == SIDE_2)
		return (TRUE);
	else if (diff == +/-5%)
		return (TRUE);
	else
		return (FALSE);
} 

Recherche:

-23 racine d'arnica.
-7 tige de roseau.

-13 fibre de lin.

-11 peau d'écureuil.

-12 bois sec simple.

Propose:
ressources mineur lvl1 à 7.

Echange a 5% de perte/gain maximum.

PS: mon message, il était cool :'(

Modifié (le) par Fibine
Lien vers le commentaire
Partager sur d’autres sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Invité
Répondre à ce sujet…

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Créer...

Important Information

By using this site, you agree to our Terms of Use.