Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samouczki dla nowych graczy (podstawa podstaw) #298

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
184 changes: 184 additions & 0 deletions _maps/tutorials/tutorial_12x12.dmm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

79 changes: 79 additions & 0 deletions _maps/tutorials/tutorial_7x7.dmm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions aquila/aquila.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,28 @@
#include "code\__DEFINES\sound.dm"
#include "code\__DEFINES\span.dm"
#include "code\__DEFINES\traits.dm"
#include "code\__DEFINES\tutorial.dm"
#include "code\__DEFINES\uplink.dm"
#include "code\__DEFINES\wires.dm"
#include "code\__DEFINES\_onclick\huds\vampire.dm"
#include "code\__HELPERS\areas.dm"
#include "code\__HELPERS\names.dm"
#include "code\__HELPERS\game.dm"
#include "code\__HELPERS\text.dm"
#include "code\__HELPERS\unsorted.dm"
#include "code\_globalvars\lists\game.dm"
#include "code\__HELPERS\pronouns.dm"
#include "code\_onclick\hud\alert.dm"
#include "code\controllers\configuration\entries\game_options.dm"
#include "code\controllers\configuration\entries\general.dm"
#include "code\controllers\subsystem\async_map_generator.dm"
#include "code\controllers\subsystem\demo.dm"
#include "code\controllers\subsystem\jukeboxes.dm"
#include "code\controllers\subsystem\vote.dm"
#include "code\datum\wires\wires_jukebox.dm"
#include "code\datums\components\nanites.dm"
#include "code\datums\components\uplink.dm"
#include "code\datums\components\tutorial_status.dm"
#include "code\datums\diseases\advance\symptoms\fleshgrowth.dm"
#include "code\datums\diseases\transformation.dm"
#include "code\datums\action.dm"
Expand All @@ -51,6 +56,14 @@
#include "code\datums\weather\shitstorm.dm"
#include "code\datums\saymode.dm"
#include "code\datums\mind.dm"
#include "code\datums\map_generators\_async_map_generator.dm"
#include "code\datums\map_generators\map_placer.dm"
#include "code\datums\tutorial\_tutorial.dm"
#include "code\datums\tutorial\_tutorial_menu.dm"
#include "code\datums\tutorial\ss13\_ss13.dm"
#include "code\datums\tutorial\ss13\basic_ss13.dm"
#include "code\datums\tutorial\ss13\intents_ss13.dm"
#include "code\game\area\Space_Station_13_areas.dm"
#include "code\game\area\areas\centcom.dm"
#include "code\game\area\areas\shuttles.dm"
#include "code\game\atoms_movable.dm"
Expand Down Expand Up @@ -177,6 +190,8 @@
#include "code\modules\food_and_drinks\drinks\drinks.dm"
#include "code\modules\food_and_drinks\food\snacks_pie.dm"
#include "code\modules\food_and_drinks\recipes\drinks_recipes.dm"
#include "code\modules\mapping\map_template.dm"
#include "code\modules\mapping\reader.dm"
#include "code\modules\metacoin\metacoin.dm"
#include "code\modules\mining\equipment\mineral_scanner.dm"
#include "code\modules\mining\machine_bluespaceminer.dm"
Expand Down
5 changes: 5 additions & 0 deletions aquila/code/__DEFINES/traits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
#define TRAIT_EAT_MORE "eat_more"
#define TRAIT_BOTTOMLESS_STOMACH "bottomless_stomach"
#define TRAIT_GENELESS "geneless"
#define TRAIT_IN_TUTORIAL "in_tutorial"

//non-mob traits

#define SINFULDEMON_TRAIT "sinfuldemon"


/// Trait source from Tutorial
#define TRAIT_SOURCE_TUTORIAL "tutorials"
2 changes: 2 additions & 0 deletions aquila/code/__DEFINES/tutorial.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#define TUTORIAL_CATEGORY_BASE "Base" // Shouldn't be used outside of base types
#define TUTORIAL_CATEGORY_SS13 "Space Station 13"
2 changes: 2 additions & 0 deletions aquila/code/__HELPERS/areas.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/proc/require_area_resort()
GLOB.sortedAreas = null
17 changes: 17 additions & 0 deletions aquila/code/__HELPERS/text.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/// Returns a string with reserved characters and spaces after the first and last letters removed
/// Like trim(), but very slightly faster. worth it for niche usecases
/proc/trim_reduced(text)
var/starting_coord = 1
var/text_len = length(text)
for (var/i in 1 to text_len)
if (text2ascii(text, i) > 32)
starting_coord = i
break

for (var/i = text_len, i >= starting_coord, i--)
if (text2ascii(text, i) > 32)
return copytext(text, starting_coord, i + 1)

if(starting_coord > 1)
return copytext(text, starting_coord)
return ""
Loading
Loading