various loading statements.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
[play-clj.utils :refer :all]
|
||||
[play-clj.g2d :refer :all])
|
||||
)
|
||||
(println "loading behindhouse")
|
||||
|
||||
(defn make-night [entities]
|
||||
(assoc-in entities [:room :entities :peeling :opacity] 0))
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
[play-clj.utils :refer :all]
|
||||
[play-clj.g2d :refer :all]))
|
||||
|
||||
(println "loading " *ns*)
|
||||
|
||||
(defn make-night [entities]
|
||||
entities)
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
[play-clj.ui :refer :all]
|
||||
[play-clj.utils :refer :all]
|
||||
[play-clj.g2d :refer :all]))
|
||||
|
||||
(println "loading " *ns*)
|
||||
|
||||
(defn get-down [entities & break]
|
||||
|
||||
(actions/walk-straight-to entities :ego [151 50] :update-baseline? false :face :left)
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
[play-clj.g2d :refer :all])
|
||||
(:import [com.badlogic.gdx.graphics Color]))
|
||||
|
||||
(println "loading " *ns*)
|
||||
|
||||
(defn go-to-jail [entities & [time]]
|
||||
|
||||
(actions/update-state entities #(assoc % :chest-contents (concat (remove #{:key :ladder} (:inventory %)) (:chest-contents %))))
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
[play-clj.g2d :refer :all])
|
||||
(:import [com.badlogic.gdx.graphics Color]))
|
||||
|
||||
(println "loading " *ns*)
|
||||
|
||||
(def walk-chan (a/chan))
|
||||
|
||||
(defn set-opacity [entities opacity tool-opacity]
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
[play-clj.g2d :refer :all])
|
||||
(:import [com.badlogic.gdx.graphics Color]))
|
||||
|
||||
(println "loading " *ns*)
|
||||
|
||||
(defn make [screen atlas global-atlas]
|
||||
(let [peddler-sheet (texture! (utils/atlas->texture atlas "peddler-talk" ) :split 18 36)
|
||||
peddler-stand (utils/flip (animation 0.2 (for [i (flatten [(repeat 8 0) 6 (repeat 8 0) 6 (repeat 5 0) 4 5 4 5 4 5])]
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
[play-clj.g2d :refer :all]))
|
||||
|
||||
|
||||
(println "loading " *ns*)
|
||||
|
||||
|
||||
(defn bloodclot-choices [entities]
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
[play-clj.utils :refer :all]
|
||||
[play-clj.g2d :refer :all]))
|
||||
|
||||
(println "loading " *ns*)
|
||||
(def boy-names
|
||||
["Steve" "Bob" "Bud" "Clement" "Terrence" "Flapjack" "Ticklemonster" "Peter" "Greg" "Dave" "Stu" "Calsbad" "Fatso" "Tanner" "Klug"
|
||||
"Griswold" "Leonardo" "Donatello" "Raphael" "Michelangelo" "Francis" "Ebeneezer" "Pierre" "Finn" "Slade" "Gilbert" "Graham"
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
[play-clj.utils :refer :all]
|
||||
[play-clj.g2d :refer :all]))
|
||||
|
||||
(println "loading " *ns*)
|
||||
|
||||
(defn make-fight-entity [global-atlas]
|
||||
(assoc (utils/atlas->texture global-atlas "black.png")
|
||||
:x 0
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
[play-clj.utils :refer :all]
|
||||
[play-clj.g2d :refer :all]))
|
||||
|
||||
(println "loading " *ns*)
|
||||
(defn brian [screen entities]
|
||||
(when (and (not (get-in entities [:fg-actions :script-running?]))
|
||||
(not (get-in entities [:bg-actions :script-running?]))
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
[play-clj.utils :refer :all]
|
||||
[play-clj.g2d :refer :all]))
|
||||
|
||||
(println "loading " *ns*)
|
||||
|
||||
(defn open-safe [entities]
|
||||
(actions/play-animation entities :ego :start-squat :stop? false)
|
||||
(Thread/sleep 500)
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
[play-clj.utils :refer :all]
|
||||
[play-clj.g2d :refer :all]))
|
||||
|
||||
(println "loading " *ns*)
|
||||
|
||||
(defn remove-lock [entities]
|
||||
(-> entities
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
[play-clj.ui :refer :all]
|
||||
[play-clj.utils :refer :all]
|
||||
[play-clj.g2d :refer :all]))
|
||||
(println "loading " *ns*)
|
||||
|
||||
(defn bust-chest [entities]
|
||||
(if (get-in @entities [:state :broke-lock?])
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
[play-clj.math :refer :all]
|
||||
[play-clj.g2d :refer :all]))
|
||||
|
||||
(println "loading " *ns*)
|
||||
|
||||
(defn flies-vol [entities]
|
||||
(utils/proximity-volume entities [201 175] :scale 0.20))
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
[play-clj.utils :refer :all]
|
||||
[play-clj.g2d :refer :all]))
|
||||
|
||||
(println "loading " *ns*)
|
||||
|
||||
|
||||
(defn dawn-fade [entities]
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
[play-clj.ui :refer :all]
|
||||
[play-clj.utils :refer :all]
|
||||
[play-clj.g2d :refer :all]))
|
||||
(println "loading " *ns*)
|
||||
|
||||
(defn add-spear-if-necessary [entities]
|
||||
(if (and (not (actions/has-obtained? entities :spear))
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
[play-clj.utils :refer :all]
|
||||
[play-clj.math :refer :all]
|
||||
[play-clj.g2d :refer :all]))
|
||||
(println "loading " *ns*)
|
||||
|
||||
(defn taunt [screen entities]
|
||||
(when (and (not (get-in entities [:fg-actions :script-running?]))
|
||||
|
||||
Reference in New Issue
Block a user