- Messages : 26
 - Remerciements reçus 9
 
            Source code is at 
    github.com/punyauk/VivoSim
            
        
    
    What am I doing wrong?
- Shadows Myst
 - 
            
				
                            Auteur du sujet
                                 
        Moins
        Plus d'informations
        
            
    
        
            
        
                07 Fév 2020 22:14                #55
        par Shadows Myst
    
    
            
            
            
            
            
                                
    
                                                
    
        What am I doing wrong? a été créé par Shadows Myst            
    
        I made an SF Bacon to add to soup recipe...when it cooks and I try to eat the SF Bacon...it gives me this error  Quintonia SatyrFarm HUD-V3.4: There was nothing consumable in bacon and eggs....What am I doing wrong?    
    Connexion ou Créer un compte pour participer à la conversation.
- Admin
 - 
            
				
                                 
        Moins
        Plus d'informations
        
            
    
        - Messages : 480
 - Remerciements reçus 259
 
            
        
                07 Fév 2020 23:33         -  07 Fév 2020 23:35        #58
        par Admin
    
    
    
            
            
            
            
                                
    
                                                
    
        Réponse de Admin sur le sujet What am I doing wrong?            
    
        The HUD needs to know what the 'nutritional content' is for any item. To do this it first looks at the VALUES notecard in the HUD. You can add in products to that but be aware that when you get an updated HUD it will lose those extra items (unless you have let me know and I can add them in!)
The example below, for product 'SF Chocolate milkshake' shows that you consume 100% of it and it makes you 20% less hungry and 10% less thirsty. Note that the name must be exactly the same as the product but without the initial SF.
Chocolate milkshake|100|Hungry:-20|Thirsty:-10
If there isn't an entry in that notecard, it then looks at the config notecard that is inside the product to see if it has it set there.
EXTRAPARAM=Hungry:-20|Thirsty:-10|Drunk:-5|Sick:-5
The above reduces your hunger by 20%, thirst by 10% and makes you 5% less drunk and less sick!
If there isn't one of the above then it gives the 'nothing consumable' message
For both the above you don't need to put in all the values (so a drink may just have the Thirsty value) - also the numbers can be positive, so for instance Drunk:5 makes you more drunk by 5%
Hope that helps
    
    The example below, for product 'SF Chocolate milkshake' shows that you consume 100% of it and it makes you 20% less hungry and 10% less thirsty. Note that the name must be exactly the same as the product but without the initial SF.
Chocolate milkshake|100|Hungry:-20|Thirsty:-10
If there isn't an entry in that notecard, it then looks at the config notecard that is inside the product to see if it has it set there.
EXTRAPARAM=Hungry:-20|Thirsty:-10|Drunk:-5|Sick:-5
The above reduces your hunger by 20%, thirst by 10% and makes you 5% less drunk and less sick!
If there isn't one of the above then it gives the 'nothing consumable' message
For both the above you don't need to put in all the values (so a drink may just have the Thirsty value) - also the numbers can be positive, so for instance Drunk:5 makes you more drunk by 5%
Hope that helps
        Dernière édition: 07 Fév 2020 23:35  par Admin.            
            Connexion ou Créer un compte pour participer à la conversation.
- Shadows Myst
 - 
            
				
                            Auteur du sujet
                                 
        Moins
        Plus d'informations
        
            
    
        - Messages : 26
 - Remerciements reçus 9
 
            
        
                07 Fév 2020 23:55                #59
        par Shadows Myst
    
    
            
            
            
            
            
                                
    
                                                
    
        Réponse de Shadows Myst sur le sujet What am I doing wrong?            
    
        thanks i will check what you said and fix it...    
    Connexion ou Créer un compte pour participer à la conversation.
                                    
            
                            
