Commerce Approve

New Drupal Modules - 11 January 2019 - 1:10pm
Categories: Drupal

Jeff Geerling's Blog: Cleaning up after adding files in Drupal Behat tests

Planet Drupal - 11 January 2019 - 11:51am

I've been going kind of crazy covering a particular Drupal site I'm building in Behat tests—testing every bit of core functionality on the site. In this particular case, a feature I'm testing allows users to upload arbitrary files to an SFTP server, then Drupal shows those filenames in a streamlined UI.

I needed to be able to test the user action of "I'm a user, I upload a file to this directory, then I see the file listed in a certain place on the site."

These files are not managed by Drupal (e.g. they're not file field uploads), but if they were, I'd invest some time in resolving this issue in the drupalextension project: "When I attach the file" and Drupal temporary files.

Since they are just random files dropped on the filesystem, I needed to:

Categories: Drupal

What Interactive Digital Entertainment Companies Are Doing to Prepare for the California Consumer Privacy Act - by Kimberly Culp Blogs - 11 January 2019 - 7:39am
Many game companies have just finished (or may still be working on) their GDPR compliance. But, California has a new privacy law that will likely require another look at privacy practices. This article benchmarks what others are doing to comply.
Categories: Game Theory & Design

Nonlinear Story Structure in Games - by Nathan Savant Blogs - 11 January 2019 - 7:38am
A breakdown of the Three Act Structure and how it can be expanded to help guide non-linear narratives
Categories: Game Theory & Design

Engaging with Your Audience on Social Media - by Jessica Paek Blogs - 11 January 2019 - 7:38am
Whatever size your community currently is, there are even more people out there who would be your fans if they knew about you. We discuss how to get the most out of your social media efforts by engaging with your audience.
Categories: Game Theory & Design

Why do we get so attached to our soldiers in XCOM? - by Tiago Costa Blogs - 11 January 2019 - 7:37am
I finally got around to play XCOM2 and once again my soldiers died... I grew attached to one in particular... Onde Called Sofia "Solo" Conti. Then I saw her died to a set of lucky hits... Why do we get so attached to our soldiers in XCOM?
Categories: Game Theory & Design

A simple format to archive design decisions - by David Bailly Blogs - 11 January 2019 - 7:34am
How we keep an archive of decision-making within the design docs with the help of a few emoticons.
Categories: Game Theory & Design

Easy to Learn, Hard to Master - by Lukas Powers Blogs - 11 January 2019 - 7:34am
Atari founder, Nolan Bushnell, came up with the game design methodology “Easy to learn, but hard to master.” While it has become a popular mantra for designing game mechanics, it may not be the only philosophy that works.
Categories: Game Theory & Design

An Elementary Alternative to Combat (Fire/Water)

Gnome Stew - 11 January 2019 - 7:30am

Image Courtesy: Pixabay

As any number of language classes have taught most of us, stories are what happens when characters who have goals meet people, places, things, or ideas that prevent them from accomplishing those goals. Most of us can probably name off a handful of the more famous ones: “Gnome vs. Nature,” “Gnome vs. Gnome,” “Gnome vs. Self,” “Gnome vs. Intriguing Cave Filled with Goblins.” But when it comes to games, particularly the ones that always seem to be on the shelf in your Friendly Local Gaming Store, it seems that we default to a certain kind of conflict — the kind that results in careful tracking of resources like hit points, status effects, and positioning. In short: combat.

In case it isn’t already clear, I am a really really big fan of this kind of gaming. There are few things I enjoy more than making and playing characters (okay, villains) with new and exciting ways to beat up heroes, move them around, and thwart their ambitions — but variety is the spice of life, and no matter how much I enjoy those kinds of games, once in a while it’s fun to pull out something a little different.

Of course, there are a ton of games that do things other than physical combat brilliantly. Some concentrate on using the defining qualities of characters in ways that mechanically advantage them, or focus on exploration, or mystery, or drama, or dozens of other different (awesome) things, using games as metaphors and tools and vehicles for experiences. Those games are also great, and I can’t encourage you strongly enough to go out and play those games. Seriously: go play one now.

But not everyone has the energy or (frankly) gaming group it takes to learn, make characters for, and play an entirely new system. In those cases, it can seem like your only option is to continue playing the same games you’ve always played, occasionally leavened by the introduction of a new module or character option.

Often, your best option is often to identify the tools that you have available to you in your group’s preferred game, and like Lego (or Taco Bell), put them together in a new and exciting way, or at least a way your group hasn’t seen before. In those cases, your best option is often to identify the tools that you have available to you in your group’s preferred game, and like Lego (or Taco Bell), put them together in a new and exciting way, or at least a way your group hasn’t seen before. Share18Tweet1+11Reddit1Email

For pulse-pounding action, tension, and the potential for gruesome character death, natural (or unnatural) disasters can provide an alternative way for your characters to struggle against forces they can’t swing a sword at. The remainder of this article is devoted to two approaches focusing on natural disasters: the first is a kind of challenge-within-a-challenge that pits your characters against the relentless growth potential of a fire, and the second is a set of hooks and emotional notes to hit when dealing with a flood.

These tools can also be used to give players a sense of scope for the magic, superpowers, or feats of mad engineering that their antagonists bring to bear. It’s one thing to dodge a fireball, but quite another to turn around and realize that the fireball hit a building. In a land without fire codes, every such mishap can endanger innocent bystanders, rivals, or (for incredibly goal-oriented groups) an important MacGuffin.

Note that both fires and floods are real disasters, and none of this is intended to trivialize the very real suffering that actual human beings go through when these disasters happen. With that in mind, I’ve linked to a relevant charity next to the two disasters examined in this article. If your group feels particularly moved after a given session, or even if you just have some extra to give, consider donating to these charities. Money doesn’t solve many problems, but for a struggling nonprofit, it rarely hurts.


Charity: Operation USA

Charity Navigator Rating: Four Stars

Fire has a pretty central role in the mythology of our games. From fireballs to ancient fire gods to The Human Torch, the idea of shaping and using flame through means magical or mundane is where any number of games start. At the same time, consider how devastating fire has been in the United States in 2018, despite our relatively robust infrastructure and the truly heroic efforts of firefighters and first responders.

When a villain (or even a hero) carelessly tosses out a spell or power with the deceptively simple warning that it may catch objects on fire, institute rules that cover just how destructive and uncontrollable fire can be. When a villain (or even a hero) carelessly tosses out a spell or power with the deceptively simple warning that it may catch objects on fire, institute rules that cover just how destructive and uncontrollable fire can be. Share18Tweet1+11Reddit1Email The excellent board game Flash Point has excellent mechanics that illustrate just how easy it is for a fire to rage out of control. The below rules are (very) loosely inspired by the way that this game handles fire.

  • After a triggering event occurs (an out of control spell, a fumble, or even a candle setting fire to bed curtains), and if no player has taken action to put out the blaze, roll a 6-sided die at the end of players’ turns to determine whether the fire spreads, roughly in size or intensity. On a 1-5, the fire stays where it is. On a 6, the fire spreads to every adjacent space (or doubles in intensity/size if you’re not using tactical grids).
  • Track the intensity/size of the fire like a fire’s “hit points” with character actions decreasing that total, and inaction allowing that total to increase through the d6 roll. Note that even stone construction often has wood joists and floors, and most wall materials are at least somewhat flammable — the key is that there’s something that can catch on fire nearly anywhere, and getting finicky about whether this thing or that thing can catch fire takes a lot of the urgency out of gameplay.
  • If a fire is particularly intense or large (as any fire will become if left alone), add to the roll based on its intensity. The longer a fire is left alone, the more distinct actions are required to put it out. The below numbers provide for both “theater of the mind” (requiring distinct “actions” to put out a given level of fire) and tactical miniatures-type combat (showing the number of “squares” a fire occupies). Clever actions or actions that create areas of effect may (at the game master’s discretion) put out more than one square or count as more than one action.
    • +0: a candle flame (1 action/square total)
    • +1: a torch or other open flame (2-4 actions/squares total)
    • +3: a fire of roughly the size and intensity of a campfire or fireplace fire (5-16 actions/squares total)
    • +5: a raging conflagration (16+ total squares)
  • For every round that an open flame begins and ends a turn next to a wall or other structurally important part of a building, do one point of damage to that building. Buildings have a number of points of damage based on the size and relative quality of construction. For games that do not track movement using tactical grids, every point of total intensity over a certain threshold counts toward the building’s limit.
    • 6 points: A one-room shed (every point of flame counts as being next to a wall for as long as the fire is burning)
    • 12 points: A normal-sized house, or a small building that’s relatively well-constructed (every point of intensity past 6 points counts toward the building’s limit)
    • 24 points: A large house, or a particularly well-constructed smaller one (every point of intensity past 9 points counts toward the building’s limit)
    • 48 points: Large public building, or another building particularly well-shielded against fire (every point of intensity past 12 counts toward the building’s limit)
  • If a building runs out of hit points, it collapses. Depending on the level of lethality in your game, NPCs or even characters may die instantly. At minimum, everyone involved should be completely out of commission until the next scene.
  • If the fire occurs outside, there is no limit to the potential spread of flame, and without quick and clever action, characters may well find themselves surrounded by towering walls of flame they have no hope of escaping.
  • Adjudicate fire damage to characters according to the rules of the game you’re using, and encourage players to think creatively about ways to put out the flame in efficient ways. Note that unless characters are fireproof or otherwise able to bypass areas that are currently on fire, aiding each other or escaping will likely be thwarted by burning walls, floors, doors, or trees.
  • The fire continues to burn (and potentially spread) as long as it has even a single point of intensity remaining. The key to this conflict is that every instance of the fire spreading requires distinct action by the players, and the problem compounds the longer characters do not take action.

Particularly sadistic game masters or those with groups that enjoy especially grueling challenges may institute other potential obstacles — even after they’ve been put out, fires produce a lot of smoke that may require rolls to avoid conditions like being sickened or poisoned, and areas that have been devastated by fire can easily be difficult or treacherous to move through, especially if players are attempting to rescue bystanders, priceless objects, or gigantic handfuls of snakes. Game masters may also require a roll for all or some approaches to putting out a fire, though note that doing this may well risk exposing your players to spectacular failure.


Charity: SBP (Saint Bernard Project)

Charity Navigator Rating: Four Stars

If you’re going to destroy the world, flooding is really the way to do it; If you’re going to destroy the world, flooding is really the way to do it. Share18Tweet1+11Reddit1Email Cultures all over the world are intimately familiar with the damage that can be done by out of control water, Atlantis and Noah’s famous Ark immediately spring to mind. Characters might face flooding through the actions of an angry god, demon, or godlike sorcerer. Weather magic or super science might cause endless rain, or local dams can be threatened or destroyed by careless magic or powers, or by deliberate sabotage. For an unusual flood, consider a substance other than water, and the damage it can do — studying up on the Great Molasses Flood of Boston is a great place to start.

Unlike with fire, when a flood is under way, there’s little any but the most powerful characters can hope to do. Instead, characters should face challenges in two distinct phases: during the flood, and afterward.

During the Flood: Survival

During the flood, characters’ main focus should be escape and rescue — disaster is happening, and the characters can only hope to survive it. If using tactical miniatures or similar combat, consider restricting movement in one direction — characters may be able to move north, south or west, but cannot move south, due to the relentless pressure of water forcing against them. Terrain should be difficult or impossible to navigate through, and characters should constantly be forced to make decisions between things that they value.

For an especially bleak experience, linger on locations, objects or buildings that have been important to characters in their previous stories as they wash away. As always, be conscious of your players’ feelings, and know when too much is too much. The X card is an excellent tool (though by no means the only one) for helping navigate this kind of scene.

After the Flood: Recovery

Rebuilding communities and the buildings that house them is only the most obvious part of recovering from a disaster like a flood. In modern floods, rebuilders are forced to deal with the logistics of moving new materials into ruined and impassable areas — something that can take weeks or months, even with modern technology.

During that time period, even basics like food become scarce, and people can fall to desperation. Game Masters may want to play up the potential for conflict inherent in this, and allow players who specialize in the social elements of game play to step up and prevent riots or other forms of violence.

For external threats, opportunistic villains may step in and make impossible promises, or a warlord may see a population that, though poor, is ripe for plunder.

All of this is to say nothing of how such a weakened population deals with disease or injury — or with the health problems that can easily arise when waterlogged crops lay rotting in the fields and sodden soil sprouts disease, fungi and mold.

Stories of disaster can give heroes challenges that they know they stand no chance of fighting against — neatly avoiding the unspoken assumption some groups have that “if it has hit points, I can kill it.” Such encounters or stories can break up combat and even social encounters in ways that can make a world feel more real and lived-in. As with any topic that has real-world equivalents, game masters should pay attention to the emotional states of their players, some of whom may have directly or indirectly experienced these disasters, and make sure that everyone is on board with the inclusion of these kinds of elements. With the whole group on board and sharing in an understanding of what they’re in for, this kind of game can be a great way to spice up your sessions.

Do these kinds of disasters have a place at your table? If so, how have you used them in the past?

Categories: Game Theory & Design

The Accidental Coder: The Flip Side of Community and Open Source

Planet Drupal - 11 January 2019 - 7:12am
The Flip Side of Community and Open Source j ayen green Fri, 01/11/2019 - 10:12
Categories: Drupal

HTTP Request Redirect Fix

New Drupal Modules - 11 January 2019 - 7:10am

Fixes issue #3018637 until it is patched in core

Categories: Drupal

Background Block

New Drupal Modules - 11 January 2019 - 5:26am


Change background block color.


The Menu Block just requires the Block project:

* Block (


Install as you would normally install a contributed Drupal module. See: for further

Categories: Drupal

Views Accordion Foundation

New Drupal Modules - 11 January 2019 - 4:09am

Provides a views display formatter plugin to render views content as ZURB Foundation Accordion (

This module was largely inspired and based on the wonderful Views Accordion module by Manuel Garcia. Thank you so much, Manuel!

Categories: Drupal

Drupal Holded

New Drupal Modules - 11 January 2019 - 3:52am

Provides a user interface to manage API connection between Drupal and Holded

Categories: Drupal Blog: Top Drupal blog posts from December 2018

Planet Drupal - 11 January 2019 - 2:54am

Despite the hectic holiday season, we never stop researching and digging up interesting Drupal content. Our team has once again scoured all the feeds, read countless Drupal articles and made the selection of the most engaging bits of content from last month. So, without further ado, here are what we found to be the top Drupal blog posts from December 2018.

Categories: Drupal

Login Register Path

New Drupal Modules - 11 January 2019 - 1:45am

Change login and register page URL.


Goto: /admin/config/user-interface/login-register-path
- Login Register Path



- Install via /admin/modules
- drush en login_register_path -y
- composer require drupal/login_register_path

Categories: Drupal

Droptica: Rules module – automatic conditionally executed actions in Drupal 8

Planet Drupal - 11 January 2019 - 1:23am
Automate actions on your Drupal-based website. This will enable it to run even more independently from your input. Automated mailing, publishing new content at a specified time and redirects after meeting certain conditions are only some of the functionalities featured in the Rules module. Rules is a tool that enables you to define automatic, conditionally executed actions, triggered by various types of events. What are some examples of such automated actions? For example: redirecting the user after logging in; sending an e-mail after adding content; publishing content at a specific time. At the foundation of the module lies the Event – Condition – Action rule, with one caveat – the CONDITION does not have to be a part of this scheme. An example scheme could be as follows:
Categories: Drupal

Designing a Production Process: An Addendum - by Ryan Darcey Blogs - 11 January 2019 - 12:46am
An addendum to my "Designing a Production Process" series that describes how to further utilize your issue tracking database to support it.
Categories: Game Theory & Design

Commerce Order Item Check Off

New Drupal Modules - 10 January 2019 - 9:50pm
Categories: Drupal

Views Block Placement Exposed Form Defaults

New Drupal Modules - 10 January 2019 - 9:47pm

This module allows you to configure which exposed filters on a views block display should be configurable as default values by the site administrator when placing the block.

Enabling a filter to be configurable looks like:

And then the exposed filter will be available and saved into the block placement configuration, to be used as a default value when rendering the exposed form:

Categories: Drupal


Subscribe to As If Productions aggregator