npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

com.iron-mountain.quests

v2.1.5

Published

Scriptable Object Quests.

Downloads

96

Readme

Quests

Version: 2.0.5

Description:

Scriptable Object Quests.

Use Cases:

  • For creating scripted sequences of game events.

Dependencies:

  • com.unity.localization (1.3.2)
  • com.iron-mountain.conditions (1.5.6)
  • com.iron-mountain.scriptable-actions (1.0.5)
  • com.iron-mountain.save-system (1.0.4)

Package Mirrors:

Key Scripts & Components:

  1. public class Database : ScriptableObject
    • Properties:
      • public List Quests { get; }
    • Methods:
      • public Quest GetQuestByName(String sceneName)
      • public Quest GetQuestByID(String id)
      • public Quest GetRandomQuest()
      • public void SortList()
      • public void RebuildDictionary()
      • public override String ToString()
  2. public class Quest : StoryEvent
    • Actions:
      • public event Action OnIsListeningChanged
      • public event Action OnViewsChanged
    • Properties:
      • public Int32 Priority { get; set; }
      • public StoryType Type { get; set; }
      • public List Requirements { get; }
      • public String Name { get; set; }
      • public String Description { get; set; }
      • public String Conclusion { get; set; }
      • public Boolean IsListening { get; set; }
      • public Int32 Views { get; set; }
      • public Boolean DescriptionHasErrors { get; }
      • public Boolean RequirementsHaveErrors { get; }
    • Methods:
      • public override void Refresh()
      • public override void Restart()
      • public virtual void Reset()
      • public override void OnValidate()
      • public override String GetDocumentation()
      • public override Boolean HasErrors()
  3. public class QuestRequirement : StoryEvent
    • Properties:
      • public String Name { get; }
      • public Quest Quest { get; set; }
      • public String Detail { get; }
      • public String Tip { get; }
      • public Sprite Depiction { get; }
      • public Boolean DescriptionHasErrors { get; }
    • Methods:
      • public override void Refresh()
      • public virtual void Reset()
      • public override void OnValidate()
      • public override Boolean HasErrors()
      • public override String GetDocumentation()
  4. public class QuestStateCondition : Condition
    • Properties:
      • public Sprite Depiction { get; }
    • Methods:
      • public override Boolean Evaluate()
      • public override Boolean HasErrors()
      • public override String ToString()
  5. public class QuestsManager : MonoBehaviour
  6. public abstract class StoryEvent : ScriptableObject
    • Actions:
      • public event Action OnStateChanged
    • Properties:
      • public StateType State { get; }
      • public String ID { get; }
      • public Boolean CanActivate { get; }
      • public Boolean CanComplete { get; }
      • public Boolean CanFail { get; }
      • public Boolean PrerequisitesHaveErrors { get; }
      • public Boolean CompletionConditionHasErrors { get; }
      • public Boolean FailConditionHasErrors { get; }
    • Methods:
      • public abstract void Refresh()
      • public void TryActivate()
      • public void TryComplete()
      • public void TryFail()
      • public virtual void Restart()
      • public virtual void Activate()
      • public virtual void Complete()
      • public virtual void Fail()
      • public virtual void OnValidate()
      • public virtual Boolean HasErrors()
      • public abstract String GetDocumentation()
  7. public class StoryEventController : MonoBehaviour
  8. public class StoryEventStateCondition : Condition
    • Properties:
      • public Sprite Depiction { get; }
    • Methods:
      • public override Boolean Evaluate()
      • public override Boolean HasErrors()
      • public override String ToString()