Coder Social home page Coder Social logo

roccojiang / stardew-mods Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hawkfalcon/stardew-mods

0.0 0.0 0.0 363 KB

Stardew-Mods by hawkfalcon and ceruleandeep (Better Junimos, CustomQuestExpiration, & more)

License: MIT License

C# 100.00%

stardew-mods's Introduction

Stardew-Mods

Custom Quest Expiration

Change the Daily Quest expiration (make it never expire, expire after 5 days, etc)

TillableGround

Make any tile tillable (so you can use your hoe on it)

Better Junimos

Allow your junimos (from junimo huts) to automatically plant seeds, fertilize, and much more!

BetterJunimosApi

Custom Abilities

RegisterJunimoAbility(IJunimoAbility junimoAbility) // add a custom Junimo ability
/*
 * Provides abilities for Junimos 
 */    
public interface IJunimoAbility {
    /*
     * What is the name of this ability 
     */
    String AbilityName();

    /*
     * Is the action available at the position? E.g. is the crop ready to harvest
     */
    bool IsActionAvailable(Farm farm, Vector2 pos);

    /*
     * Action to take if it is available, return false if action failed
     */
    bool PerformAction(Farm farm, Vector2 pos, JunimoHarvester junimo, Chest chest);

    /*
     * Does this action require an item (SObject.SeedsCategory, etc)?
     * Return 0 if no item needed        
     */
    int RequiredItem();
}

Other Functions

GetJunimoHutMaxRadius() // int: max radius

GetJunimoHutMaxJunimos() // int: max junimos

GetJunimoAbilities() // Dictionary<string, bool>: enabled abilities

GetWereJunimosPaidToday() // bool: did the user pay the junimos today

stardew-mods's People

Contributors

hawkfalcon avatar jacob-keller avatar ellipszist avatar pathoschild avatar tjf5349 avatar profitrollgame avatar tiln416 avatar angel4killer avatar chroniclercherry avatar millerscout avatar mluizvitor avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.