All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mmb.content.drugs.Intoxicating Maven / Gradle / Ivy

Go to download

Dependency for the MultiMachineBuilder, a voxel game about building an industrial empire in a finite world. THIS RELEASE IS NOT PLAYABLE. To play the game, donwload from >ITCH.IO LINK HERE< or >GH releases link here<

There is a newer version: 0.6
Show newest version
/**
 * 
 */
package mmb.content.drugs;

import mmb.engine.chance.Chance;

/**
 * An abstraction over various intoxicating items (AlcoPod, beer, vodka, wine, ethanol etc...)
 * @author oskar
 */
public interface Intoxicating {
	/**
	 * @return strength of the intoxicating effect of the item.
	 * A value of 1 means that the item carries 1 standard drink.
	 */
	public double alcoholicity();
	/** @return the items to inject into inventory after drinking */
	public Chance postdrink();
	/** Called after alcohol consumption */
	public default void effects() {
		//unused
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy